updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / oleo / PKGBUILD
blobf693694f2b5b6892dce45a777eec44229eb64f2b
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=oleo
4 pkgver=1.99.16
5 pkgrel=2
6 pkgdesc="GNU's lightweight spreadsheet program with a curses-based interface"
7 arch=('i686' 'x86_64')
8 url="http://www.gnu.org/software/oleo/"
9 license=('GPL')
10 depends=('libcups')
11 makedepends=('autoconf' 'automake' 'texi2html')
12 conflicts=('oleo-motif')
13 install=oleo.install
14 source=(http://ftp.gnu.org/pub/gnu/oleo/oleo-$pkgver.tar.gz
15         http://archive.ubuntu.com/ubuntu/pool/universe/o/oleo/oleo_$pkgver-11ubuntu1.diff.gz)
16 md5sums=('d59801055b8ba6c6980ed1247a603f5f'
17          '23816dc1949c5d130eab69ccf7214fbf')
19 build() {
20   cd "$srcdir/oleo-$pkgver"
21   patch -Np1 -i ../oleo_$pkgver-11ubuntu1.diff || return 1
22   sed -i '/MAKE/ s/install-data-am//' Makefile.in
23   ./configure --prefix=/usr --infodir=/usr/share/info \
24       --without-x \
25       --without-motif \
26       --without-xbae
27   make || return 1
30 package() {
31   cd "$srcdir/oleo-$pkgver"
32   make DESTDIR="$pkgdir" install
33   install -Dm644 doc/oleo.html "$pkgdir/usr/share/doc/oleo/oleo.html"