author | Antonio Rojas
<arojas@archlinux.org> 2019-10-07 20:07:01 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2019-10-07 20:07:01 UTC |
parent | d9e1c2351cda92cdae68b0ab735035eb4813b062 |
PKGBUILD | +7 | -7 |
diff --git a/PKGBUILD b/PKGBUILD index 618f6b3..70233e4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -13,22 +13,22 @@ source=(https://github.com/cracklib/cracklib/releases/download/v$pkgver/$pkgname md5sums=('48a0c8810ec4780b99c0a4f9931c21c6') build() { - cd $srcdir/$pkgname-$pkgver + cd $pkgname-$pkgver ./configure --prefix=/usr --sbindir=/usr/bin --without-python make } check() { - cd $srcdir/$pkgname-$pkgver + cd $pkgname-$pkgver make check } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=$pkgdir install + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install # symlink cracklib-small #34778 - mkdir -p $pkgdir/usr/share/dict - ln -sf /usr/share/cracklib/cracklib-small $pkgdir/usr/share/dict/cracklib-small + mkdir -p "$pkgdir"/usr/share/dict + ln -sf /usr/share/cracklib/cracklib-small "$pkgdir"/usr/share/dict/cracklib-small sh ./util/cracklib-format dicts/cracklib-small \ - | sh ./util/cracklib-packer $pkgdir/usr/share/cracklib/pw_dict + | sh ./util/cracklib-packer "$pkgdir"/usr/share/cracklib/pw_dict }