#Packager: Richard Lapointe #Former Packager(s): Name #Anything commented out is optional and can be deleted. pkgname=gmusicbrowser pkgver=1.0.2 pkgrel=1rl #arch=noarch source=(http://gmusicbrowser.org/download/$pkgname-$pkgver.tar.gz) sourcetemplate=http://people.salixos.org/yournick/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://gmusicbrowser.org/ #dotnew=() #CFLAGS= #CXXFLAGS= #options=('noextract') #doinst() { # #} slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "gmusicbrowser (open-source jukebox)" "gmusicbrowser is an open-source jukebox for large collections of" "mp3/ogg/flac/mpc/ape files, written in perl.3/ogg/flac/mpc/ape files," "written in perl." ) build() { cd $startdir/src/$pkgname-$pkgver # perl Makefile.PL || exit 1 make OPTIMIZE="$CFLAGS" || exit 1 make install INSTALLDIRS=vendor DESTDIR=$startdir/pkg || exit 1 # Remove perllocal.pod and .packlist if present in the package ( for i in perllocal.pod .packlist; do find $startdir/pkg -name "$i" -exec rm -rf {} \; done ) || exit 1 # remove the usr/share/doc directory rm -rf $startdir/pkg/usr/share/doc/ }