Created
April 15, 2019 18:47
-
-
Save DarkShadow44/e8598eff4ae9e68b641720fa73c6a082 to your computer and use it in GitHub Desktop.
lib32-tdb 1.3.18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Florian Pritz <flo@xssn.at> | |
_pkgbasename=tdb | |
pkgname=lib32-$_pkgbasename | |
pkgver=1.3.18 | |
pkgrel=2 | |
pkgdesc="A Trivial Database similar to GDBM but allows simultaneous commits (32-bit)" | |
arch=(x86_64) | |
license=('GPL3') | |
url="https://tdb.samba.org/" | |
depends=(lib32-glibc $_pkgbasename) | |
makedepends=(libxslt) | |
source=(https://www.samba.org/ftp/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.{gz,asc}) | |
sha512sums=('9b856b2a5b2d852ff0048ba7b1700ea46b8dad5d4e94027472fdce9f1db4b5afba9aec127b7a4c2a38d4722c8e0ea78c1734d102fa134ac802eace6b24358034' | |
'SKIP') | |
validpgpkeys=('9147A339719518EE9011BCB54793916113084025') #Samba Library Distribution Key <samba-bugs@samba.org> | |
build() { | |
export CC="gcc -m32" | |
export CXX="g++ -m32" | |
cd "${srcdir}/${_pkgbasename}-${pkgver}" | |
./configure --prefix=/usr \ | |
--localstatedir=/var \ | |
--sysconfdir=/etc/samba \ | |
--libdir=/usr/lib32 \ | |
--disable-python | |
make | |
} | |
package() { | |
cd "${srcdir}/${_pkgbasename}-${pkgver}" | |
make -j1 DESTDIR="$pkgdir" install | |
rm -rf "${pkgdir}"/usr/{include,share,bin} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment