description="Use the Freedesktop.org base directory specification"
url="http://search.cpan.org/dist/File-BaseDir/"

packager="Great-OS Team"

makedepends=(perl-ipc-system-simple perl-module-build)
run=(perl  perl-ipc-system-simple)

name=perl-file-basedir
version=0.09
release=3

source=(https://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/File-BaseDir-$version.tar.gz)

build() {
cd File-BaseDir-$version

perl Makefile.PL INSTALLDIRS=vendor

make
make DESTDIR=$PKG install

# Remove perllocal.pod and .packlist if present in the package
for i in perllocal.pod .packlist; do
    find $PKG -name "$i" -exec rm -rf {} \;
done
}
