Browse Source

[multilib-testing] -> [multilib] 'lib32-libldap-2.6.3-1' move

master
Nathan Owens 4 weeks ago
parent
commit
a1103df377
Signed by: ndowens
GPG Key ID: DC5A6F8092641E2D
  1. 57
      lib32-libldap/x86_64/multilib-testing/PKGBUILD
  2. 6
      lib32-libldap/x86_64/multilib/PKGBUILD

57
lib32-libldap/x86_64/multilib-testing/PKGBUILD

@ -1,57 +0,0 @@
# Maintainer: Nathan Owens <ndowens@artixlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
_pkgbasename=libldap
pkgname=lib32-$_pkgbasename
pkgver=2.6.3
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=('d2a2a1d71df3d77396b1c16ad7502e674df446e06072b0e5a4e941c3d06c0d46'
'SKIP')
validpgpkeys=('3CE269B5398BC8B785645E987F67D5FD1CE1CBCE') # OpenLDAP Project <project@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"
}

6
lib32-libldap/x86_64/multilib/PKGBUILD

@ -1,9 +1,9 @@
# Maintainer:
# Maintainer: Nathan Owens <ndowens@artixlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
_pkgbasename=libldap
pkgname=lib32-$_pkgbasename
pkgver=2.6.2
pkgver=2.6.3
pkgrel=1
pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries (32-bit)"
arch=('x86_64')
@ -12,7 +12,7 @@ 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'
sha256sums=('d2a2a1d71df3d77396b1c16ad7502e674df446e06072b0e5a4e941c3d06c0d46'
'SKIP')
validpgpkeys=('3CE269B5398BC8B785645E987F67D5FD1CE1CBCE') # OpenLDAP Project <project@openldap.org> https://www.openldap.org/software/download/OpenLDAP/gpg-pubkey.txt

Loading…
Cancel
Save