[arch-commits] Commit in lib32-libxcrypt/repos (2 files)
Christian Hesse
eworm at gemini.archlinux.org
Fri Sep 17 20:39:48 UTC 2021
Date: Friday, September 17, 2021 @ 20:39:48
Author: eworm
Revision: 1016887
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 1016886, lib32-libxcrypt/trunk/PKGBUILD)
----------+
PKGBUILD | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
Copied: lib32-libxcrypt/repos/multilib-testing-x86_64/PKGBUILD (from rev 1016886, lib32-libxcrypt/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2021-09-17 20:39:48 UTC (rev 1016887)
@@ -0,0 +1,47 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=lib32-libxcrypt
+# Neither tarballs nor tags are signed, but commits are.
+_commit='8ff7a8c5019cbd50419f7d0a8cd691eb99d6b086' # git rev-parse v${pkgver}
+pkgver=4.4.26
+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