summaryrefslogtreecommitdiff
path: root/community/usbview
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/usbview
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/usbview')
-rw-r--r--community/usbview/PKGBUILD43
-rw-r--r--community/usbview/usbview.install16
2 files changed, 0 insertions, 59 deletions
diff --git a/community/usbview/PKGBUILD b/community/usbview/PKGBUILD
deleted file mode 100644
index 8a0a59b05..000000000
--- a/community/usbview/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# $Id: PKGBUILD 81972 2013-01-05 07:30:40Z giovanni $
-# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
-# Contributor: Jason Chu <jason@archlinux.org>
-
-pkgname=usbview
-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/"
-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")
-md5sums=('565f2e79f3924d14ab5b4d8aced557e5')
-
-build() {
- cd "${srcdir}"
- gendesk -n
- sed -i "s:Application;:Application;System:g" "${srcdir}"/${pkgname}.desktop
-
- cd "${pkgname}-${pkgver}"
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- make prefix="${pkgdir}/usr" \
- sysconfdir="${pkgdir}/etc" \
- localstatedir="${pkgdir}/var" install
-
- install -Dm0644 "${srcdir}"/${pkgname}.desktop \
- "${pkgdir}"/usr/share/applications/${pkgname}.desktop
-
- install -Dm0644 "${srcdir}"/${pkgname}-${pkgver}/usb_icon.xpm \
- "${pkgdir}"/usr/share/pixmaps/${pkgname}.xpm
-}
diff --git a/community/usbview/usbview.install b/community/usbview/usbview.install
deleted file mode 100644
index b7f7e849b..000000000
--- a/community/usbview/usbview.install
+++ /dev/null
@@ -1,16 +0,0 @@
-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() {
- post_install
-}
-
-post_remove() {
- update-desktop-database -q
-}