diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-17 03:22:26 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-02-17 03:22:26 +0000 |
commit | 35e9f8bc93db9e691bf6d00950956ca3e5d86e83 (patch) | |
tree | f00547d7fa71a3c490077d233f63c66efe8e5cac /core/libusb/PKGBUILD | |
parent | 7695869e55415ddd53069b90850a387e73f04f4e (diff) |
Mon Feb 17 03:19:04 UTC 2014
Diffstat (limited to 'core/libusb/PKGBUILD')
-rw-r--r-- | core/libusb/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/core/libusb/PKGBUILD b/core/libusb/PKGBUILD new file mode 100644 index 000000000..2dabc1e4b --- /dev/null +++ b/core/libusb/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 206056 2014-02-16 12:47:08Z tpowa $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +pkgname=libusb +pkgver=1.0.18 +pkgrel=1 +depends=('glibc' 'systemd') +pkgdesc="Library that provides generic access to USB device" +arch=(i686 x86_64) +url="http://libusbx.org" +license=('LGPL') +source=(http://downloads.sourceforge.net/${pkgname}/releases/${pkgver}/${pkgname}-${pkgver}.tar.bz2) +replaces=('libusb1' 'libusbx') +provides=("libusbx=$pkgver") +conflicts=("libusbx") +md5sums=('4a6d049923efc6496f1d383054dac1a6') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --disable-static + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package () { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |