#Packager: Richard Lapointe #Former Packager(s): Name #Anything commented out is optional and can be deleted. pkgname=usbview2 pkgver=0.4a pkgrel=1rl #arch= source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/v${_pkgver}/${pkgname}-v${_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://usbview2.sourceforge.net" #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "USBView2 (GTK program that displays the topography of USB devices)" "This application is based on USBView of Greg Kroah-Hartman but uses as" "graphical library Gtk+ and supports Libusb too. Additionally to the" "functions of USBView, it implements three list views with detailed" "device informations (Interfaces, EPs, etc." ) 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/ }