git » cracklib.git » commit 4192e19

rebuild for signing and added check function

author Tobias Powalowski
2011-11-02 12:48:00 UTC
committer Tobias Powalowski
2011-11-02 12:48:00 UTC
parent 3a61c2985dfb9665521ae7a7f1913909e433291f

rebuild for signing and added check function

PKGBUILD +6 -1

diff --git a/PKGBUILD b/PKGBUILD
index 8f3edcd..9ea3589 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 
 pkgname=cracklib
 pkgver=2.8.18
-pkgrel=1
+pkgrel=2
 pkgdesc="Password Checking Library"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -19,6 +19,11 @@ build() {
   make 
 }
 
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  make check
+}
+
 package() {
   cd $srcdir/$pkgname-$pkgver
   make DESTDIR=$pkgdir install