From a6710a9157152319951686889f97127ecf5370d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Fri, 18 Aug 2017 16:01:26 +0200 Subject: community/xapian-core: modernize APKBUILD --- community/xapian-core/APKBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'community/xapian-core') diff --git a/community/xapian-core/APKBUILD b/community/xapian-core/APKBUILD index 4c6781a185..2af54f2526 100644 --- a/community/xapian-core/APKBUILD +++ b/community/xapian-core/APKBUILD @@ -14,18 +14,23 @@ install="" subpackages="$pkgname-dev $pkgname-doc libxapian" source="http://oligarchy.co.uk/xapian/$pkgver/$pkgname-$pkgver.tar.xz timeval-t.patch" - builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" - ./configure --prefix=/usr || return 1 - make || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } libxapian() { -- cgit v1.2.3