#Packager: George Vlahavas pkgname=perl-File-BaseDir pkgver=0.03 pkgrel=2gv source=(http://cpan.fluoline.net/authors/id/P/PA/PARDUS/File-BaseDir-$pkgver.tar.gz) docs=("readme" "manifest" "changes") url=http://search.cpan.org/dist/File-BaseDir/lib/File/BaseDir.pm slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "perl-File-BaseDir (Use the Freedesktop.org base dir specification)" "This module can be used to find directories and files as specified by" "the Freedesktop.org Base Directory Specification. This specifications" "gives a mechanism to locate directories for configuration, application" "data and cache data. It is suggested that desktop applications e.g." "the Gnome, KDE or Xfce platforms follow this layout. However, the same" "layout can just as well be used for non-GUI applications." "This module forked from File::MimeInfo." ) build() { cd $startdir/src/File-BaseDir-$pkgver ./configure || exit 1 make || 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 }