[arch-commits] Commit in (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Aug 9 17:16:43 UTC 2020


    Date: Sunday, August 9, 2020 @ 17:16:43
  Author: bpiotrowski
Revision: 393477

newpkg: libxcrypt 4.4.16-1

Added:
  libxcrypt/
  libxcrypt/repos/
  libxcrypt/trunk/
  libxcrypt/trunk/PKGBUILD

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

Added: libxcrypt/trunk/PKGBUILD
===================================================================
--- libxcrypt/trunk/PKGBUILD	                        (rev 0)
+++ libxcrypt/trunk/PKGBUILD	2020-08-09 17:16:43 UTC (rev 393477)
@@ -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