summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5e8d5576ee880a70d952f47e6ee1e6bc47103e4a (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
# Maintainer: MartiMcFly <martimcfly [at] autorisation.de>

pkgbase=php-xapian
pkgname=('php-xapian')
_realname=xapian-bindings
pkgver=1.4.11
epoch=1
pkgrel=1
pkgdesc="PHP bindings for Xapian"
arch=('armv7h' 'i686' 'x86_64')
url="http://xapian.org/docs/bindings/php/"
depends=('php' "xapian-core=$epoch:$pkgver")
license=('GPL')
source=("http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-${pkgver}.tar.xz")
sha512sums=('SKIP')

build() {
  cd "$srcdir/${_realname}-$pkgver"
  ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \
    --prefix=/usr --with-php
  make
}

package() {
  cd ${_realname}-$pkgver
  make DESTDIR="$pkgdir" install
}