[arch-commits] Commit in lib32-libldap/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Thu May 5 17:37:18 UTC 2022
Date: Thursday, May 5, 2022 @ 17:37:18
Author: arojas
Revision: 1195511
archrelease: copy trunk to multilib-testing-x86_64
Added:
lib32-libldap/repos/multilib-testing-x86_64/
lib32-libldap/repos/multilib-testing-x86_64/PKGBUILD
(from rev 1195510, lib32-libldap/trunk/PKGBUILD)
----------+
PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
Copied: lib32-libldap/repos/multilib-testing-x86_64/PKGBUILD (from rev 1195510, lib32-libldap/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2022-05-05 17:37:18 UTC (rev 1195511)
@@ -0,0 +1,57 @@
+# Maintainer:
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+
+_pkgbasename=libldap
+pkgname=lib32-$_pkgbasename
+pkgver=2.6.2
+pkgrel=1
+pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries (32-bit)"
+arch=('x86_64')
+license=('custom')
+url="https://www.openldap.org/"
+depends=('lib32-openssl' 'lib32-libxcrypt' $_pkgbasename)
+makedepends=(gcc-multilib)
+source=(https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-${pkgver}.tgz{,.asc})
+sha256sums=('81d09345232eb62486ecf5acacd2c56c0c45b4a6c8c066612e7f421a23a1cf87'
+ 'SKIP')
+validpgpkeys=('3CE269B5398BC8B785645E987F67D5FD1CE1CBCE') # OpenLDAP Project <project at openldap.org> https://www.openldap.org/software/download/OpenLDAP/gpg-pubkey.txt
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd openldap-${pkgver}
+
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/sbin \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var/lib/openldap \
+ --enable-crypt --enable-dynamic \
+ --with-threads --disable-wrappers \
+ --disable-spasswd --without-cyrus-sasl \
+ --disable-bdb --disable-hdb --libdir=/usr/lib32
+
+ cd include
+ make
+
+ cd ../libraries
+ make depend
+ make
+
+}
+
+package() {
+ cd openldap-${pkgver}
+
+ cd include
+ make DESTDIR="${pkgdir}" install
+
+ cd ../libraries
+ make DESTDIR="${pkgdir}" install
+
+ rm -rf "${pkgdir}"/usr/{include,share,bin} "$pkgdir/etc"
+ mkdir -p "$pkgdir/usr/share/licenses"
+ ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}
More information about the arch-commits
mailing list