[arch-commits] Commit in lib32-libusb/repos (multilib-x86_64 multilib-x86_64/PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Mon Nov 10 14:29:51 UTC 2014


    Date: Monday, November 10, 2014 @ 15:29:51
  Author: svenstaro
Revision: 122302

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-libusb/repos/multilib-x86_64/
  lib32-libusb/repos/multilib-x86_64/PKGBUILD
    (from rev 122301, lib32-libusb/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: lib32-libusb/repos/multilib-x86_64/PKGBUILD (from rev 122301, lib32-libusb/trunk/PKGBUILD)
===================================================================
--- multilib-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-x86_64/PKGBUILD	2014-11-10 14:29:51 UTC (rev 122302)
@@ -0,0 +1,32 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: 3V0LU710N <db_eee-at-hotmail-dot-com>
+
+pkgname=lib32-libusb
+pkgver=1.0.19
+pkgrel=1
+pkgdesc="A cross-platform user library to access USB devices (32-bit)"
+arch=('x86_64')
+url="http://libusb.info/"
+license=('LGPL')
+depends=('lib32-glibc' 'libusb' 'lib32-systemd')
+replaces=('lib32-libusb1' 'lib32-libusbx')
+provides=("lib32-libusbx=$pkgver")
+makedepends=('gcc-multilib')
+source=(http://downloads.sourceforge.net/libusb/libusb-${pkgver}.tar.bz2)
+options=(!libtool)
+md5sums=('f9e2bb5879968467e5ca756cb4e1fa7e')
+
+build() {
+  export CC="gcc -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+  
+  cd "libusb-${pkgver}"
+  ./configure --prefix=/usr --libdir=/usr/lib32 --disable-static
+  make
+}
+
+package () {
+  cd "${srcdir}/libusb-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/include
+}


More information about the arch-commits mailing list