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

Giovanni Scafora giovanni at archlinux.org
Wed Feb 10 20:28:50 UTC 2010


    Date: Wednesday, February 10, 2010 @ 15:28:50
  Author: giovanni
Revision: 68123

upgpkg: usbview 1.1-2
    libpng rebuild

Modified:
  usbview/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-10 20:19:45 UTC (rev 68122)
+++ PKGBUILD	2010-02-10 20:28:50 UTC (rev 68123)
@@ -4,24 +4,24 @@
 
 pkgname=usbview
 pkgver=1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="USB Viewer"
 arch=('i686' 'x86_64')
 url="http://www.kroah.com/linux-usb/"
-license=('GPL2')
+license=('GPL')
 depends=('gtk2')
 makedepends=('pkgconfig')
 source=(http://www.kroah.com/linux-usb/${pkgname}-${pkgver}.tar.gz)
 md5sums=('8bf5e66351156356f3ad07454123affa')
 
 build() {
-  cd $startdir/src/usbview-$pkgver
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
   ./configure --prefix=/usr \
               --sysconfdir=/etc \
 	      --localstatedir=/var
   make || return 1
-  make prefix=$pkgdir/usr \
-       sysconfdir=$pkgdir/etc \
-       localstatedir=$pkgdir/var install
+  make prefix="${pkgdir}/usr" \
+       sysconfdir="${pkgdir}/etc" \
+       localstatedir="${pkgdir}/var" install || return 1
 }
-




More information about the arch-commits mailing list