aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/xapian-core/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/testing/xapian-core/APKBUILD b/testing/xapian-core/APKBUILD
index 5f2e0ba46f..5551c774e4 100644
--- a/testing/xapian-core/APKBUILD
+++ b/testing/xapian-core/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=xapian-core
pkgver=1.2.19
-pkgrel=0
+pkgrel=1
pkgdesc="Open source search engine library"
url="http://www.xapian.org/"
arch="all"
@@ -11,7 +11,7 @@ depends=""
depends_dev="zlib-dev libgcc e2fsprogs-dev libtool"
makedepends="$depends_dev"
install=""
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc libxapian"
source="http://oligarchy.co.uk/xapian/$pkgver/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -37,6 +37,14 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
+libxapian() {
+ arch="all"
+ cd "$_builddir"
+ pkgdesc="Xapian search engine library"
+ install -d "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/$subpkgname* "$subpkgdir"/usr/lib
+}
+
md5sums="54ec8333757eb94dbde76d31d185af91 xapian-core-1.2.19.tar.xz"
sha256sums="4a78260388ff1b042f0ab5d18afdd524a530ae609690d0339990ddc147a54785 xapian-core-1.2.19.tar.xz"
sha512sums="5cd29b8c278b4fa652f947cd6689945bbe239c95425344d0fedb445bf1534198333844d91e6e59cf870043066f4dc511cd0268071916002e96bd38b59aa91c1b xapian-core-1.2.19.tar.xz"