[arch-commits] Commit in lib32-libxcrypt/repos (2 files)
Christian Hesse
eworm at archlinux.org
Wed Aug 26 14:47:04 UTC 2020
Date: Wednesday, August 26, 2020 @ 14:47:04
Author: eworm
Revision: 688931
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libxcrypt/repos/multilib-x86_64/
lib32-libxcrypt/repos/multilib-x86_64/PKGBUILD
(from rev 688930, lib32-libxcrypt/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: lib32-libxcrypt/repos/multilib-x86_64/PKGBUILD (from rev 688930, lib32-libxcrypt/trunk/PKGBUILD)
===================================================================
--- multilib-x86_64/PKGBUILD (rev 0)
+++ multilib-x86_64/PKGBUILD 2020-08-26 14:47:04 UTC (rev 688931)
@@ -0,0 +1,44 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=lib32-libxcrypt
+pkgver=4.4.16
+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')
+source=($pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz)
+sha256sums=('a98f65b8baffa2b5ba68ee53c10c0a328166ef4116bce3baece190c8ce01f375')
+
+prepare() {
+ cd "${srcdir}/libxcrypt-${pkgver}"
+
+ autoreconf -fi
+}
+
+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