summaryrefslogtreecommitdiff
path: root/community/xapian-core/PKGBUILD
blob: 775a0940308fe2081c506ac53cb99afe7db270b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 74348 2012-07-25 06:16:56Z 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.12
pkgrel=1.1
pkgdesc='Open source search engine library.'
arch=('i686' 'x86_64' 'mips64el')
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=('faf33a3945edbe4c848627750856cbeb')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}