aboutsummaryrefslogtreecommitdiffstats
path: root/main/talloc
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-09-07 03:00:18 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-09-07 08:40:00 +0000
commit79dac6c0d29ad4da466e3973088fb2407cba2592 (patch)
treea4411a720720cf0f1edd783e0590dea5798a955a /main/talloc
parentaa11e598e8b391640f01312daf53668e18854253 (diff)
downloadaports-79dac6c0d29ad4da466e3973088fb2407cba2592.tar.bz2
aports-79dac6c0d29ad4da466e3973088fb2407cba2592.tar.xz
main/talloc: upgrade to 2.1.10, modernize and add check
Diffstat (limited to 'main/talloc')
-rw-r--r--main/talloc/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/main/talloc/APKBUILD b/main/talloc/APKBUILD
index 97ebe67494..9d5b6aceae 100644
--- a/main/talloc/APKBUILD
+++ b/main/talloc/APKBUILD
@@ -1,17 +1,14 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=talloc
-pkgver=2.1.9
+pkgver=2.1.10
pkgrel=0
pkgdesc="A memory pool management library"
url="http://talloc.samba.org/"
arch="all"
license="LGPL3+"
-depends=""
-depends_dev=""
replaces="samba-common"
makedepends="$depends_dev python2-dev libxslt docbook-xsl"
-install=""
subpackages="$pkgname-dev py-$pkgname:_py $pkgname-doc"
source="http://samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz
always-libs.patch
@@ -32,13 +29,17 @@ build() {
--builtin-libraries=replace \
--disable-rpath \
--disable-rpath-install \
- --without-gettext \
- || return 1
- make || return 1
+ --without-gettext
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- make -C "$builddir" DESTDIR="$pkgdir" install || return 1
+ make -C "$builddir" DESTDIR="$pkgdir" install
}
_py() {
@@ -49,5 +50,5 @@ _py() {
"$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}
-sha512sums="a8f051bb15aba769ca286acad0946605d0053b0d149b4da2e6ecc333345f3e603d13a7f062452ae0f165615a4170ebdd7f41fc1b46c7a360000d5308bc304cbb talloc-2.1.9.tar.gz
+sha512sums="215e70056f37ade8f67c20ab2b79dcb40f071989ec908de81144f8a0160637bbdec9a94123dea73475ba42425415df4c1eb8c1986485a00e2e03323719a03ce3 talloc-2.1.10.tar.gz
dc7ce3fa5152c2e796b184bf2f7937f3424b9f1fece580195364d416ede47e655c04f1fa3ce33cd2a27d0764039ddbaec8d72c4bf3e96f6eac2c09743bed4b8c always-libs.patch"