[arch-commits] Commit in libxcrypt/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Aug 9 17:17:11 UTC 2020
Date: Sunday, August 9, 2020 @ 17:17:10
Author: bpiotrowski
Revision: 393478
archrelease: copy trunk to staging-x86_64
Added:
libxcrypt/repos/staging-x86_64/
libxcrypt/repos/staging-x86_64/PKGBUILD
(from rev 393477, libxcrypt/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: libxcrypt/repos/staging-x86_64/PKGBUILD (from rev 393477, libxcrypt/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-08-09 17:17:10 UTC (rev 393478)
@@ -0,0 +1,39 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=libxcrypt
+pkgver=4.4.16
+pkgrel=1
+pkgdesc='Modern library for one-way hashing of passwords'
+arch=(x86_64)
+url='https://github.com/besser82/libxcrypt/'
+license=(GPL)
+depends=(glibc)
+source=($pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz)
+sha256sums=('a98f65b8baffa2b5ba68ee53c10c0a328166ef4116bce3baece190c8ce01f375')
+
+prepare() {
+ cd $pkgname-$pkgver
+ autoreconf -fi
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --disable-static \
+ --enable-hashes=strong \
+ --enable-obsolete-api=no \
+ --disable-failure-tokens
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ rm -f "$pkgdir/usr/lib/libcrypt.so"
+}
More information about the arch-commits
mailing list