summaryrefslogtreecommitdiff
path: root/extra/usbview/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/usbview/PKGBUILD')
-rw-r--r--extra/usbview/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/extra/usbview/PKGBUILD b/extra/usbview/PKGBUILD
index 824887a2c..f8f794675 100644
--- a/extra/usbview/PKGBUILD
+++ b/extra/usbview/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 68125 2010-02-10 20:30:36Z giovanni $
+# $Id: PKGBUILD 143990 2011-12-01 15:29:15Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
pkgname=usbview
pkgver=1.1
-pkgrel=2
+pkgrel=3
pkgdesc="USB Viewer"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.kroah.com/linux-usb/"
license=('GPL')
depends=('gtk2')
-makedepends=('pkgconfig')
-source=(http://www.kroah.com/linux-usb/${pkgname}-${pkgver}.tar.gz)
+makedepends=('pkg-config')
+source=("http://www.kroah.com/linux-usb/${pkgname}-${pkgver}.tar.gz")
md5sums=('8bf5e66351156356f3ad07454123affa')
build() {
@@ -20,8 +20,13 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
- make || return 1
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
make prefix="${pkgdir}/usr" \
sysconfdir="${pkgdir}/etc" \
- localstatedir="${pkgdir}/var" install || return 1
+ localstatedir="${pkgdir}/var" install
}