diff options
Diffstat (limited to 'community/usbview')
-rw-r--r-- | community/usbview/PKGBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/community/usbview/PKGBUILD b/community/usbview/PKGBUILD index 8a0a59b05..e3e5774d3 100644 --- a/community/usbview/PKGBUILD +++ b/community/usbview/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 81972 2013-01-05 07:30:40Z giovanni $ +# $Id: PKGBUILD 108036 2014-03-21 16:04:00Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Jason Chu <jason@archlinux.org> pkgname=usbview pkgver=2.0 -pkgrel=2 +pkgrel=3 pkgdesc="Display the topology of devices on the USB bus" arch=('i686' 'x86_64') url="http://www.kroah.com/linux/usb/" @@ -15,12 +15,12 @@ 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 +prepare() { + gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name "Usbview" --categories "Application;System" +} - cd "${pkgname}-${pkgver}" +build() { + cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr \ --sysconfdir=/etc \ |