[arch-commits] Commit in perl-test-requires/trunk (PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Wed Mar 20 17:32:42 UTC 2013
Date: Wednesday, March 20, 2013 @ 18:32:41
Author: eric
Revision: 86621
Remove reference to pkgdir in build function, Ad check and package functions
Modified:
perl-test-requires/trunk/PKGBUILD (contents, properties)
----------+
PKGBUILD | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-20 17:29:10 UTC (rev 86620)
+++ PKGBUILD 2013-03-20 17:32:41 UTC (rev 86621)
@@ -18,12 +18,19 @@
cd "${srcdir}/Test-Requires-$pkgver"
export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
- PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ PERL_MM_OPT="INSTALLDIRS=vendor" \
+ PERL_MB_OPT="--installdirs vendor" \
MODULEBUILDRC=/dev/null
perl Makefile.PL
make
+}
+
+check() {
+ cd "${srcdir}/Test-Requires-$pkgver"
make test
- make install
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
+
+package() {
+ cd "${srcdir}/Test-Requires-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
Property changes on: perl-test-requires/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list