33 lines
932 B
Bash
33 lines
932 B
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=libusb-compat
|
|
pkgver=0.1.7
|
|
pkgrel=01
|
|
pkgdesc="Library to enable user space application programs to communicate with USB devices"
|
|
arch=('x86_64')
|
|
url="http://libusb.sourceforge.net/"
|
|
depends=('libusb' 'sh')
|
|
source=("https://github.com/libusb/libusb-compat-0.1/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('LGPL')
|
|
|
|
sha256sums=(0679ce38aa02498c1eea9c13398a0d2356883d574632a59c1e25274ed4925cf8)
|
|
|