diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-04-21 18:17:05 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-04-22 02:22:33 -0300 |
commit | 4c270add817d0d8e3f7404545c61ada748699cc9 (patch) | |
tree | 42a85866412e175d3fc7e35903f8f8f2a4b71b18 /libre/cracklib-static | |
parent | 257161eef41c4d61aed8099fed05dc8f7e7eff55 (diff) |
cracklib-static: add new package to [libre]
Diffstat (limited to 'libre/cracklib-static')
-rw-r--r-- | libre/cracklib-static/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libre/cracklib-static/PKGBUILD b/libre/cracklib-static/PKGBUILD new file mode 100644 index 000000000..5ed00b892 --- /dev/null +++ b/libre/cracklib-static/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Márcio Silva <coadde@parabola.nu> +# based of cracklib + +_pkgname=cracklib +pkgname=cracklib-static +pkgver=2.9.6 +pkgrel=1 +pkgdesc="Password Checking Library (static libraries only)" +arch=('i686' 'x86_64' 'armv7h') +license=('GPL') +url="https://github.com/cracklib/cracklib" +depends=('cracklib') +options=('staticlibs') +source=(https://github.com/cracklib/cracklib/releases/download/$_pkgname-$pkgver/$_pkgname-$pkgver.tar.gz) +md5sums=('c52f463585d85924b28cdc1e373ae06d') + +build() { + cd $srcdir/$_pkgname-$pkgver + ./configure --prefix=/usr --without-python + make +} + +check() { + cd $srcdir/$_pkgname-$pkgver + make check +} + +package() { + cd $srcdir/$_pkgname-$pkgver + make DESTDIR=$pkgdir install + + # remove conflicting files + rm -vr ${pkgdir}/usr/{include,sbin,share} + rm -v ${pkgdir}/usr/lib/lib*.so* +} |