#Maintainer: George Vlahavas pkgname=perl-gnome2-vfs pkgver=1.081 pkgrel=2gv source=(http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Gnome2-VFS-$pkgver.tar.gz) docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "license" "maintainers" "copyright.pod") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "perl-gnome2-vfs (Perl interface to the 2.x series of GNOME VFS" "Gnome2::VFS provides a Perl interface to the 2.x series of the GNOME" "VFS library." ) build() { cd $startdir/src/Gnome2-VFS-$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 }