[arch-commits] Commit in lib32-libldap/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Sep 21 08:15:15 UTC 2019
Date: Saturday, September 21, 2019 @ 08:15:14
Author: arojas
Revision: 511327
Fix quoting, use prepare() properly
Modified:
lib32-libldap/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-21 08:13:53 UTC (rev 511326)
+++ PKGBUILD 2019-09-21 08:15:14 UTC (rev 511327)
@@ -16,15 +16,18 @@
sha256sums=('d9523ffcab5cd14b709fcf3cb4d04e8bc76bb8970113255f372bc74954c6074d'
'099eb217bf989da9c10e0df375f2c4dacf745db55cd1e89be07a09e502552f42')
+prepare() {
+ cd openldap-${pkgver}
+ patch -Np1 -i ../ntlm.patch
+}
+
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
- cd ${srcdir}/openldap-${pkgver}
+ cd openldap-${pkgver}
- patch -Np1 -i ${srcdir}/ntlm.patch
-
./configure --prefix=/usr \
--libexecdir=/usr/sbin \
--sysconfdir=/etc \
@@ -45,13 +48,13 @@
}
package() {
- cd ${srcdir}/openldap-${pkgver}
+ cd openldap-${pkgver}
cd include
- make DESTDIR=${pkgdir} install
+ make DESTDIR="${pkgdir}" install
cd ../libraries
- make DESTDIR=${pkgdir} install
+ make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{include,share,bin} "$pkgdir/etc"
mkdir -p "$pkgdir/usr/share/licenses"
More information about the arch-commits
mailing list