[arch-commits] Commit in libxcrypt/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Christian Hesse
eworm at archlinux.org
Sun Feb 21 20:33:07 UTC 2021
Date: Sunday, February 21, 2021 @ 20:33:06
Author: eworm
Revision: 408574
archrelease: copy trunk to testing-x86_64
Added:
libxcrypt/repos/testing-x86_64/
libxcrypt/repos/testing-x86_64/PKGBUILD
(from rev 408573, libxcrypt/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: libxcrypt/repos/testing-x86_64/PKGBUILD (from rev 408573, libxcrypt/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-02-21 20:33:06 UTC (rev 408574)
@@ -0,0 +1,43 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=libxcrypt
+# Neither tarballs nor tags are signed, but commits are.
+_commit='94d84f92ca123d851586016c4678eb1f21c19029' # git rev-parse v${pkgver}
+pkgver=4.4.18
+pkgrel=1
+pkgdesc='Modern library for one-way hashing of passwords'
+arch=('x86_64')
+url='https://github.com/besser82/libxcrypt/'
+license=('GPL')
+depends=('glibc')
+makedepends=('git')
+provides=('libcrypt.so')
+validpgpkeys=('678CE3FEE430311596DB8C16F52E98007594C21D') # Björn 'besser82' Esser
+source=("git+https://github.com/besser82/libxcrypt.git#commit=${_commit}?signed")
+sha256sums=('SKIP')
+
+prepare() {
+ cd $pkgname
+ autoreconf -fi
+}
+
+build() {
+ cd $pkgname
+ ./configure \
+ --prefix=/usr \
+ --disable-static \
+ --enable-hashes=strong,glibc \
+ --enable-obsolete-api=no \
+ --disable-failure-tokens
+ make
+}
+
+check() {
+ cd $pkgname
+ make check
+}
+
+package() {
+ cd $pkgname
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list