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

Evangelos Foutras foutrelis at gemini.archlinux.org
Sat Nov 13 18:01:46 UTC 2021


    Date: Saturday, November 13, 2021 @ 18:01:46
  Author: foutrelis
Revision: 1045786

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-libldap/repos/multilib-staging-x86_64/
  lib32-libldap/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 1045785, lib32-libldap/trunk/PKGBUILD)

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

Copied: lib32-libldap/repos/multilib-staging-x86_64/PKGBUILD (from rev 1045785, lib32-libldap/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2021-11-13 18:01:46 UTC (rev 1045786)
@@ -0,0 +1,57 @@
+# Maintainer:
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+
+_pkgbasename=libldap
+pkgname=lib32-$_pkgbasename
+pkgver=2.6.0
+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=('b71c580eac573e9aba15d95f33dd4dd08f2ed4f0d7fc09e08ad4be7ed1e41a4f'
+            '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