summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-09-27 16:29:19 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-09-27 16:29:19 (GMT)
commitb8489b8d155b541a7e9fc33c1d912403ee7de44b (patch)
treeaab64b551c00e89df2d3b4786634085ccd31561a /abs/core
parente073d765e365e2fd4ec458ebc949b69dd3d135a6 (diff)
downloadlinhes_pkgbuild-b8489b8d155b541a7e9fc33c1d912403ee7de44b.zip
linhes_pkgbuild-b8489b8d155b541a7e9fc33c1d912403ee7de44b.tar.gz
linhes_pkgbuild-b8489b8d155b541a7e9fc33c1d912403ee7de44b.tar.bz2
libxcrypt: initial inclusion. dep of util-linux
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/libxcrypt/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
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 <bpiotrowski@archlinux.org>
+
+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
+}