summaryrefslogtreecommitdiff
path: root/extra/usbview
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/usbview
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/usbview')
-rw-r--r--extra/usbview/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/usbview/PKGBUILD b/extra/usbview/PKGBUILD
new file mode 100644
index 000000000..84dc43232
--- /dev/null
+++ b/extra/usbview/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 68125 2010-02-10 20:30:36Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Jason Chu <jason@archlinux.org>
+
+pkgname=usbview
+pkgver=1.1
+pkgrel=2
+pkgdesc="USB Viewer"
+arch=('i686' 'x86_64')
+url="http://www.kroah.com/linux-usb/"
+license=('GPL')
+depends=('gtk2')
+makedepends=('pkgconfig')
+source=(http://www.kroah.com/linux-usb/${pkgname}-${pkgver}.tar.gz)
+md5sums=('8bf5e66351156356f3ad07454123affa')
+
+build() {
+ 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 || return 1
+}