summaryrefslogtreecommitdiff
path: root/extra/usbview
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-24 01:50:39 -0700
committerroot <root@rshg054.dnsready.net>2012-10-24 01:50:39 -0700
commit120df4e0db159525806a9b33364483e76f9d51d3 (patch)
treeb78de64b601a46cc403d8663201bad6feb41c791 /extra/usbview
parent3c19af9355ba86a5b99d6e5a57ecaa68a7ea6e8e (diff)
Wed Oct 24 01:47:51 PDT 2012
Diffstat (limited to 'extra/usbview')
-rw-r--r--extra/usbview/PKGBUILD20
-rw-r--r--extra/usbview/usbview.install7
2 files changed, 12 insertions, 15 deletions
diff --git a/extra/usbview/PKGBUILD b/extra/usbview/PKGBUILD
index e131c153f..21369ef29 100644
--- a/extra/usbview/PKGBUILD
+++ b/extra/usbview/PKGBUILD
@@ -1,23 +1,19 @@
-# $Id: PKGBUILD 169432 2012-10-21 07:40:08Z giovanni $
+# $Id: PKGBUILD 169543 2012-10-23 11:13:44Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
pkgname=usbview
-pkgver=1.1
-pkgrel=4
+pkgver=2.0
+pkgrel=2
pkgdesc="Display the topology of devices on the USB bus"
arch=('i686' 'x86_64')
-url="http://www.kroah.com/linux-usb/"
+url="http://www.kroah.com/linux/usb/"
license=('GPL')
depends=('gtk3' 'desktop-file-utils')
makedepends=('pkg-config' 'gendesk')
install=${pkgname}.install
-source=("http://www.kroah.com/linux-usb/${pkgname}-${pkgver}.tar.gz"
- 'usbview-1.1-gtk3-port.patch'
- 'usbview-1.1-missing-usbfs.patch')
-md5sums=('8bf5e66351156356f3ad07454123affa'
- '578ed1099228f205b728ee2d46ed6f56'
- '02e4313887423d0057a7f4f15b7f37d4')
+source=("http://www.kroah.com/linux/usb/${pkgname}-${pkgver}.tar.gz")
+md5sums=('565f2e79f3924d14ab5b4d8aced557e5')
build() {
cd "${srcdir}"
@@ -26,10 +22,6 @@ build() {
cd "${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/usbview-1.1-gtk3-port.patch"
- patch -Np1 -i "${srcdir}/usbview-1.1-missing-usbfs.patch"
-
- autoreconf
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
diff --git a/extra/usbview/usbview.install b/extra/usbview/usbview.install
index e111ef946..b7f7e849b 100644
--- a/extra/usbview/usbview.install
+++ b/extra/usbview/usbview.install
@@ -1,5 +1,10 @@
post_install() {
update-desktop-database -q
+ echo ">>> Debugfs must be mounted in order to use usbview."
+ echo ">>> As root execute:"
+ echo ">>> \"mount -t debugfs none /sys/kernel/debug\" or add"
+ echo ">>> \"none /sys/kernel/debug debugfs defaults 0 0\""
+ echo ">>> to /etc/fstab"
}
post_upgrade() {
@@ -7,5 +12,5 @@ post_upgrade() {
}
post_remove() {
- post_install
+ update-desktop-database -q
}