[arch-commits] Commit in libusb-compat/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Thu Nov 3 18:50:19 EDT 2011


    Date: Thursday, November 3, 2011 @ 18:50:18
  Author: andrea
Revision: 142007

upgpkg: libusb-compat 0.1.3-2

Signing package

Modified:
  libusb-compat/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-03 21:26:34 UTC (rev 142006)
+++ PKGBUILD	2011-11-03 22:50:18 UTC (rev 142007)
@@ -1,26 +1,27 @@
 # $Id$
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Maintainer:
+# Contributor: Tobias Powalowski <tpowa at archlinux.org>
 # Contributor: arjan <arjan at archlinux.org>
 
 pkgname=libusb-compat
 pkgver=0.1.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Library to enable user space application programs to communicate with USB devices"
 arch=('i686' 'x86_64')
 depends=('libusb' 'sh')
 url="http://libusb.sourceforge.net/"
 license=('LGPL')
-source=(http://downloads.sourceforge.net/libusb/libusb-compat-0.1/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2)
+source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2")
 options=('!libtool')
 md5sums=('570ac2ea085b80d1f74ddc7c6a93c0eb')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr 
   make
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR=${pkgdir} install
 }



More information about the arch-commits mailing list