[arch-commits] Commit in perl-passwd-md5/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Sat Feb 25 08:19:39 EST 2012


    Date: Saturday, February 25, 2012 @ 08:19:38
  Author: pierre
Revision: 151301

upgpkg: perl-passwd-md5 1.3-5

rebuild old package

Modified:
  perl-passwd-md5/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-25 13:18:30 UTC (rev 151300)
+++ PKGBUILD	2012-02-25 13:19:38 UTC (rev 151301)
@@ -5,14 +5,14 @@
 pkgname=perl-passwd-md5
 _realname=Crypt-PasswdMD5
 pkgver=1.3
-pkgrel=4
+pkgrel=5
 pkgdesc="Provides a crypt()-compatible interface to new MD5-based crypt()"
 arch=(any)
 license=('GPL' 'PerlArtistic')
 url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl>=5.10.0')
-options=(!emptydirs)
-source=(http://search.cpan.org/CPAN/authors/id/L/LU/LUISMUNOZ/${_realname}-$pkgver.tar.gz)
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/L/LU/LUISMUNOZ/${_realname}-$pkgver.tar.gz")
 md5sums=('368205b1be8c0d4f807afe25d6fbd1ad')
 
 build() {
@@ -20,6 +20,10 @@
   # install module in vendor directories.
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
   make
+}
+
+check() {
+  cd $srcdir/${_realname}-$pkgver
   make test
 }
 



More information about the arch-commits mailing list