[arch-commits] Commit in libxcrypt/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Christian Hesse
eworm at archlinux.org
Sun May 2 20:36:23 UTC 2021
Date: Sunday, May 2, 2021 @ 20:36:22
Author: eworm
Revision: 414198
archrelease: copy trunk to testing-x86_64
Added:
libxcrypt/repos/testing-x86_64/
libxcrypt/repos/testing-x86_64/PKGBUILD
(from rev 414197, libxcrypt/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: libxcrypt/repos/testing-x86_64/PKGBUILD (from rev 414197, libxcrypt/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-05-02 20:36:22 UTC (rev 414198)
@@ -0,0 +1,43 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=libxcrypt
+# Neither tarballs nor tags are signed, but commits are.
+_commit='e73ff0137de5152e69e8abb0bd260541804dfe5a' # git rev-parse v${pkgver}
+pkgver=4.4.20
+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