[arch-commits] Commit in cracklib/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Wed Nov 13 16:45:59 UTC 2019
Date: Wednesday, November 13, 2019 @ 16:45:59
Author: foutrelis
Revision: 368241
archrelease: copy trunk to staging-x86_64
Added:
cracklib/repos/staging-x86_64/
cracklib/repos/staging-x86_64/PKGBUILD
(from rev 368240, cracklib/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: cracklib/repos/staging-x86_64/PKGBUILD (from rev 368240, cracklib/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-11-13 16:45:59 UTC (rev 368241)
@@ -0,0 +1,34 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Federico Quagliata (quaqo) <quaqo at despammed.com>
+
+pkgname=cracklib
+pkgver=2.9.7
+pkgrel=2
+pkgdesc="Password Checking Library"
+arch=('x86_64')
+license=('GPL')
+url="https://github.com/cracklib/cracklib"
+depends=('glibc' 'zlib')
+source=(https://github.com/cracklib/cracklib/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
+md5sums=('48a0c8810ec4780b99c0a4f9931c21c6')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin --without-python
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ 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
+ sh ./util/cracklib-format dicts/cracklib-small \
+ | sh ./util/cracklib-packer "$pkgdir"/usr/share/cracklib/pw_dict
+}
More information about the arch-commits
mailing list