[arch-commits] Commit in lib32-libxcrypt/repos (2 files)

Christian Hesse eworm at archlinux.org
Sun Feb 21 20:33:19 UTC 2021


    Date: Sunday, February 21, 2021 @ 20:33:18
  Author: eworm
Revision: 867988

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-libxcrypt/repos/multilib-testing-x86_64/
  lib32-libxcrypt/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 867987, lib32-libxcrypt/trunk/PKGBUILD)

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

Copied: lib32-libxcrypt/repos/multilib-testing-x86_64/PKGBUILD (from rev 867987, lib32-libxcrypt/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2021-02-21 20:33:18 UTC (rev 867988)
@@ -0,0 +1,47 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=lib32-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 (32-bit)'
+arch=('x86_64')
+url='https://github.com/besser82/libxcrypt/'
+license=('GPL')
+depends=('lib32-glibc' 'libxcrypt')
+makedepends=('git' 'gcc-multilib')
+validpgpkeys=('678CE3FEE430311596DB8C16F52E98007594C21D') # Björn 'besser82' Esser
+source=("git+https://github.com/besser82/libxcrypt.git#commit=${_commit}?signed")
+sha256sums=('SKIP')
+
+prepare() {
+  cd "${srcdir}/libxcrypt"
+
+  autoreconf -fi
+}
+
+build() {
+  cd "${srcdir}/libxcrypt"
+
+  export CC="gcc -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  ./configure \
+    --prefix=/usr \
+    --libdir=/usr/lib32 \
+    --libexecdir=/usr/lib32 \
+    --disable-static \
+    --enable-hashes=strong,glibc \
+    --enable-obsolete-api=no \
+    --disable-failure-tokens
+  make 
+}
+
+package() {
+  cd "${srcdir}/libxcrypt"
+
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}"/usr/{bin,include,share}
+}


More information about the arch-commits mailing list