From b2e1eb3cf91c5ca6334e8acf5bce08eeaa3b8632 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 4 Nov 2024 18:48:15 +0800 Subject: [PATCH] lmdb 0.9.33-1 --- PKGBUILD | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index a56a30f..b66157f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ # Maintainer: Future Linux Team pkgname=lmdb -pkgver=0.9.32 +pkgver=0.9.33 pkgrel=1 pkgdesc="Symas Lightning Memory-Mapped Database" arch=('x86_64') @@ -14,30 +14,30 @@ license=('custom:OpenLDAP') depends=('glibc') makedepends=('git') options=('!emptydirs') -source=(git+https://git.openldap.org/openldap/openldap.git#commit=e96d8dfa3951c06062a6fffbe1d7a2f3c9c1ff76 - lmdb.pc) +source=(git+https://git.openldap.org/openldap/openldap.git#tag=LMDB_${pkgver} + lmdb.pc) sha256sums=(SKIP - 84773d232ee0a11a307ed4374fc4cbf8d6ea1b0feeb3ee9499fe821e4b98a28f) + 84773d232ee0a11a307ed4374fc4cbf8d6ea1b0feeb3ee9499fe821e4b98a28f) prepare() { - sed -e "s|@PKGVER@|$pkgver|" -i lmdb.pc + sed -e "s|@PKGVER@|$pkgver|" -i lmdb.pc } build() { - cd openldap/libraries/liblmdb + cd openldap/libraries/liblmdb - make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" prefix=/usr libdir=/usr/lib64 + make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS" prefix=/usr libdir=/usr/lib64 } package() { - cd openldap/libraries/liblmdb + cd openldap/libraries/liblmdb - install -dm755 ${pkgdir}/usr/{bin,lib64,include,man/man1,share} + install -dm755 ${pkgdir}/usr/{bin,lib64,include,man/man1,share} - make DESTDIR=${pkgdir} prefix=/usr libdir=/usr/lib64 install + make DESTDIR=${pkgdir} prefix=/usr libdir=/usr/lib64 install - mv ${pkgdir}/usr/man ${pkgdir}/usr/share/man + mv ${pkgdir}/usr/man ${pkgdir}/usr/share/man - install -Dm644 ${srcdir}/lmdb.pc -t ${pkgdir}/usr/lib64/pkgconfig/ + install -Dm644 ${srcdir}/lmdb.pc -t ${pkgdir}/usr/lib64/pkgconfig/ }