36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=talloc
|
|
pkgver=2.3.1
|
|
pkgrel=1
|
|
pkgdesc='Hierarchical pool based memory allocator with destructors'
|
|
arch=('i686' 'x86_64')
|
|
license=('LGPL-3' 'GPL-3' 'Modified-BSD')
|
|
url='https://talloc.samba.org/'
|
|
depends=('glibc' 'libxcrypt')
|
|
makedepends=('python' 'docbook-xsl')
|
|
optdepends=('python: for python bindings')
|
|
source=(https://www.samba.org/ftp/talloc/talloc-$pkgver.tar.{gz,asc}
|
|
LICENSE)
|
|
sha512sums=('064fc39a9aaace6e0209f3251c8ff198d8a318b4cf4198006ff9892ca6e15e7d817b2fda43e0444fbbf04d2c3e70d06523dff5d57cbb796d27317ef4759e062e'
|
|
'SKIP'
|
|
'e4416fc1b804b09c87ab90607390820162f2340c86b6216ad7f946bd7be9f594740b73a05399a4141ff6586a3e36640af90256cd206f9bfe1c438bccc63fe9fc')
|
|
validpgpkeys=(9147A339719518EE9011BCB54793916113084025) # samba-bugs@samba.org
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc/samba \
|
|
--localstatedir=/var \
|
|
--bundled-libraries=NONE \
|
|
--builtin-libraries=replace \
|
|
--enable-talloc-compat1
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|