blob: 90bd7aac7c4c6e527d6361d3ae190d23de15fedc (
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
30
31
32
33
34
35
36
|
# $Id: PKGBUILD 213896 2014-05-31 06:54:44Z andrea $
# 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
epoch=1
pkgver=1.2.17
pkgrel=2
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.xz")
md5sums=('493117bf45e5471e86b4fc5d6d8069dc')
build() {
# FS#40614
if [ "${CARCH}" = "i686" ]; then
SSE2="--disable-sse"
fi
cd ${pkgname}-${pkgver}
./configure \
--prefix=/usr ${SSE2}
make
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}
|