mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 10:24:37 +08:00
25 lines
611 B
Bash
25 lines
611 B
Bash
pkgname=libgusb
|
|
pkgver=0.2.11
|
|
pkgrel=1
|
|
#When updating, remember to also do lib32-libgusb
|
|
pkgdesc="GLib wrapper around libusb1"
|
|
arch=('x86_64')
|
|
url="https://github.com/hughsie/libgusb"
|
|
license=('LGPL2.1')
|
|
depends=('libgudev' 'libusbx')
|
|
makedepends=('gobject-introspection' 'python2' 'vala')
|
|
source=(http://people.freedesktop.org/~hughsient/releases/$pkgname-$pkgver.tar.xz)
|
|
sha256sums=('9cb143493fab1dc3d0d0fdba2114b1d8ec8c5b6fad05bfd0f7700e4e4ff8f7de')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr --disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|