#Packager: George Vlahavas pkgname=perl-File-BaseDir pkgver=0.07 pkgrel=1gv source=("https://cpan.metacpan.org/authors/id/K/KI/KIMRYAN/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 sh ./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 }