1 pkgname='perl-sql-library'
4 pkgdesc="A module for managing simple SQL libraries stored in INI-like files."
6 url='http://search.cpan.org/~dgorley/SQL-Library-0.0.3/lib/SQL/Library.pm'
7 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
12 source=('http://search.cpan.org/CPAN/authors/id/D/DG/DGORLEY/SQL-Library-0.0.3.tar.gz')
13 md5sums=('75b80cb27775bb61f90fbd5b835032ec')
16 DIST_DIR="${srcdir}/SQL-Library-0.0.3"
17 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
18 PERL_AUTOINSTALL=--skipdeps \
19 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
20 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
21 MODULEBUILDRC=/dev/null
24 perl Makefile.PL INSTALLDIRS=vendor &&
27 make DESTDIR="$pkgdir" install;
30 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete