updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / lib32-libgusb / PKGBUILD
blob3ea94fd1a0710e540b6cf8552d94fdc898261787
1 # Maintainer: josephgbr <rafael.f.f1 at gmail dot com>
3 _pkgbase=libgusb
4 pkgname=lib32-$_pkgbase
5 pkgver=0.1.3
6 pkgrel=1
7 pkgdesc="GLib wrapper around libusb1 (32 bit)"
8 arch=('x86_64')
9 url="https://gitorious.org/gusb/"
10 license=('LGPL2.1')
11 depends=('lib32-udev' "$_pkgbase")
12 makedepends=('gcc-multilib')
13 source=(http://people.freedesktop.org/~hughsient/releases/$_pkgbase-$pkgver.tar.xz)
14 options=('!libtool')
15 sha256sums=('4eebb56700d9366c513bfa8f9321a60388f61bade0236a90d66854caea97f0e6')
17 build() {
18   export CC='gcc -m32'
19   cd "$srcdir/$_pkgbase-$pkgver"
20   ./configure --prefix=/usr --disable-static --libdir=/usr/lib32
21   make
24 package() {
25   cd "$srcdir/$_pkgbase-$pkgver"
26   make DESTDIR="$pkgdir" install
27   rm -rf "$pkgdir/usr"/{include,share}