updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / presage / PKGBUILD
blob504c9e50c6e3489ce2294ba75d3afe3ea6712589
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=presage
4 pkgver=0.8.6
5 pkgrel=1
6 pkgdesc="An intelligent predictive text entry platform."
7 arch=(i686 x86_64)
8 url="http://presage.sourceforge.net/"
9 license=('GPL')
10 depends=('gtk2' 'tinyxml' 'python2')
11 makedepends=('cmu-sml-toolkit' 'swig' 'cppunit')
12 options=('!libtool')
13 source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
14 md5sums=('ad51bffb31d65f14b6b537bafe4212b2')
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
19   # python2 fixes
20   export PYTHON=python2
21   sed -i "s|\(^#!.*bin/python\).*|\12|;s|\(^#!.*env python\).*|\12|;" \
22     `grep -Erl "(env python|bin/python)" .`
24   ./configure --prefix=/usr \
25               --sysconfdir=/etc \
26               --enable-static=no \
27               --disable-documentation
28   make
31 package() {
32   cd "$srcdir/$pkgname-$pkgver"
34   make DESTDIR="$pkgdir/" install
37 # vim:set ts=2 sw=2 et: