summaryrefslogtreecommitdiff
path: root/community/xapian-core/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xapian-core/PKGBUILD')
-rw-r--r--community/xapian-core/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/xapian-core/PKGBUILD b/community/xapian-core/PKGBUILD
new file mode 100644
index 000000000..916d199b8
--- /dev/null
+++ b/community/xapian-core/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 89923 2013-05-05 14:51:22Z spupykin $
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: William Rea <sillywilly@gmail.com>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=xapian-core
+pkgver=1.2.15
+pkgrel=1
+pkgdesc='Open source search engine library.'
+arch=('i686' 'x86_64')
+url='http://www.xapian.org/'
+license=('GPL')
+depends=('sh' 'gcc-libs' 'zlib' 'util-linux')
+# xapian config requires libxapian.la
+options=('libtool')
+source=("http://oligarchy.co.uk/xapian/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('3af45069c6a14a7ecad2da24cbc3d2c5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}