[arch-commits] Commit in cracklib/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Mon Oct 7 20:07:01 UTC 2019
Date: Monday, October 7, 2019 @ 20:07:01
Author: arojas
Revision: 364065
Fix quoting
Modified:
cracklib/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-07 20:06:00 UTC (rev 364064)
+++ PKGBUILD 2019-10-07 20:07:01 UTC (rev 364065)
@@ -13,22 +13,22 @@
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
}
More information about the arch-commits
mailing list