From b8489b8d155b541a7e9fc33c1d912403ee7de44b Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 27 Sep 2020 16:29:19 +0000 Subject: libxcrypt: initial inclusion. dep of util-linux --- abs/core/libxcrypt/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 abs/core/libxcrypt/PKGBUILD diff --git a/abs/core/libxcrypt/PKGBUILD b/abs/core/libxcrypt/PKGBUILD new file mode 100644 index 0000000..8d07818 --- /dev/null +++ b/abs/core/libxcrypt/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Bartłomiej Piotrowski + +pkgname=libxcrypt +pkgver=4.4.17 +pkgrel=1 +pkgdesc='Modern library for one-way hashing of passwords' +arch=(x86_64) +url='https://github.com/besser82/libxcrypt/' +license=(GPL) +depends=(glibc) +provides=(libcrypt.so) +source=($pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz) +sha256sums=('7665168d0409574a03f7b484682e68334764c29c21ca5df438955a381384ca07') + +prepare() { + cd $pkgname-$pkgver + autoreconf -fi +} + +build() { + cd $pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --disable-static \ + --enable-hashes=strong,glibc \ + --enable-obsolete-api=no \ + --disable-failure-tokens + make +} + +check() { + cd $pkgname-$pkgver + make check +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} -- cgit v0.12