[arch-commits] Commit in perl-digest-sha1/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Wed May 25 20:05:56 UTC 2011
Date: Wednesday, May 25, 2011 @ 16:05:56
Author: remy
Revision: 125312
Modernize PKGBUILD
Modified:
perl-digest-sha1/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-05-25 19:54:27 UTC (rev 125311)
+++ PKGBUILD 2011-05-25 20:05:56 UTC (rev 125312)
@@ -23,16 +23,15 @@
# install module in vendor directories.
perl Makefile.PL INSTALLDIRS=vendor
make
+}
+
+check() {
+ cd ${srcdir}/${_realname}-${pkgver}
make test
}
package() {
cd ${srcdir}/${_realname}-${pkgver}
-
make install DESTDIR=${pkgdir}
-
- # remove perllocal.pod and .packlist
- find ${pkgdir} -name perllocal.pod -delete
- find ${pkgdir} -name .packlist -delete
}
# vim: ts=2 sw=2 et ft=sh
More information about the arch-commits
mailing list