summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f6b31fdf9811c6a16cc2d28381c49b6e4533cea7 (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
# Maintainer: Albert Graef <aggraef@cmail.com>
# Contributor: Charles Goyard <cg@fsck.fr>

pkgname=xapian-tcl-bindings
_realname=xapian-bindings
pkgver=1.4.10
pkgrel=1
pkgdesc="Bindings allowing Xapian to be used from Tcl"
arch=(i686 x86_64)
url="http://xapian.org/docs/bindings/tcl/"
license=('GPL')
groups=(xapian)
# FIXME: tcllib isn't actually needed, but we pull it in to have the Tcl
# library path set up as needed. By installing into /usr/lib/tcllib, the
# package will hopefully work with whatever Tcl version happens to be
# installed.
depends=('tcl' 'tcllib' 'xapian-core')
source=(http://oligarchy.co.uk/xapian/${pkgver}/${_realname}-$pkgver.tar.xz)
md5sums=('5fa7b00fce9f3b8720bc5d276ff97713')

build() {
  cd "$srcdir/${_realname}-$pkgver"
  ./configure --prefix=/usr --with-tcl TCL_LIB=/usr/lib/tcllib
  make
}

package() {
  cd "$srcdir/${_realname}-$pkgver"
  make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et: