[arch-commits] Commit in libxcrypt/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Christian Hesse eworm at archlinux.org
Thu Aug 27 09:28:26 UTC 2020


    Date: Thursday, August 27, 2020 @ 09:28:26
  Author: eworm
Revision: 394759

archrelease: copy trunk to testing-x86_64

Added:
  libxcrypt/repos/testing-x86_64/
  libxcrypt/repos/testing-x86_64/PKGBUILD
    (from rev 394758, libxcrypt/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: libxcrypt/repos/testing-x86_64/PKGBUILD (from rev 394758, libxcrypt/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-08-27 09:28:26 UTC (rev 394759)
@@ -0,0 +1,39 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at 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
+}



More information about the arch-commits mailing list