[arch-commits] Commit in lib32-libxcrypt/repos (2 files)
Christian Hesse
eworm at gemini.archlinux.org
Wed Feb 2 07:14:07 UTC 2022
Date: Wednesday, February 2, 2022 @ 07:14:07
Author: eworm
Revision: 1122379
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 1122378, lib32-libxcrypt/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: lib32-libxcrypt/repos/multilib-testing-x86_64/PKGBUILD (from rev 1122378, lib32-libxcrypt/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2022-02-02 07:14:07 UTC (rev 1122379)
@@ -0,0 +1,40 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=lib32-libxcrypt
+pkgver=4.4.28
+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=('gcc-multilib')
+validpgpkeys=('678CE3FEE430311596DB8C16F52E98007594C21D') # Björn 'besser82' Esser
+source=("${url}/releases/download/v${pkgver}/libxcrypt-${pkgver}.tar.xz"{,.asc})
+sha256sums=('9e936811f9fad11dbca33ca19bd97c55c52eb3ca15901f27ade046cc79e69e87'
+ 'SKIP')
+
+build() {
+ cd "${srcdir}/libxcrypt-${pkgver}"
+
+ 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-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}"/usr/{bin,include,share}
+}
More information about the arch-commits
mailing list