APKBUILD examples:Perl: Difference between revisions
(Created page with "<pre> build() { cd "$_builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make && make test || return 1 } </pre> The files perllocal.pod and .pack...") |
No edit summary |
||
Line 14: | Line 14: | ||
make DESTDIR="$pkgdir" install || return 1 | make DESTDIR="$pkgdir" install || return 1 | ||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete | find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete | ||
} | |||
</pre> | </pre> |
Revision as of 17:39, 27 June 2011
build() { cd "$_builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make && make test || return 1 }
The files perllocal.pod and .packlist should be deleted
package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete }