#Packager: Richard Lapointe #Former Packager(s): Name #Anything commented out is optional and can be deleted. pkgname=usbview pkgver=1.1 pkgrel=2rl #arch= source=(http://www.kroah.com/linux-usb/$pkgname-$pkgver.tar.gz \ usbview.png \ usbview.desktop) sourcetemplate=http://people.salixos.org/laprjns/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.kroah.com/linux-usb/ #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "USBView (GTK program that displays the topography of USB devices)" "USBView is a GTK program that displays the topography of the devices" "that are plugged into the USB bus on a Linux machine. It also displays" "information on each of the devices. This can be useful to determine" "if a device is working properly or not." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX}\ --localstatedir=/var \ --sysconfdir=/etc \ --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg # lets deal with the icon & desktop file mkdir -p $startdir/pkg/usr/share/icons/hicolor/64x64/apps/ mkdir -p $startdir/pkg/usr/share/applications cp -rf $startdir/$pkgname.png $startdir/pkg/usr/share/icons/hicolor/64x64/apps/ cp -rf $startdir/usbview.desktop $startdir/pkg/usr/share/applications/ }