1 # Maintainer: TDY <tdy@gmx.com>
6 pkgdesc="GNU's lightweight spreadsheet program with a Motif-based interface"
8 url="http://www.gnu.org/software/oleo/"
10 depends=('libcups' 'xbae')
11 makedepends=('autoconf' 'automake' 'texi2html')
15 source=(http://ftp.gnu.org/pub/gnu/oleo/oleo-$pkgver.tar.gz
16 http://archive.ubuntu.com/ubuntu/pool/universe/o/oleo/oleo_$pkgver-11ubuntu1.diff.gz)
17 md5sums=('d59801055b8ba6c6980ed1247a603f5f'
18 '23816dc1949c5d130eab69ccf7214fbf')
21 cd "$srcdir/oleo-$pkgver"
22 patch -Np1 -i ../oleo_$pkgver-11ubuntu1.diff || return 1
23 sed -i '/MAKE/ s/install-data-am//' Makefile.in
24 ./configure --prefix=/usr --infodir=/usr/share/info
25 find -type f -exec sed -i \
26 -e 's#the file COPYING for the#the license for the conditions:#g' \
27 -e 's#conditions\.#/usr/share/licenses/common/GPL2/license.txt#g' '{}' \;
32 cd "$srcdir/oleo-$pkgver"
33 make DESTDIR="$pkgdir" install
34 install -Dm644 doc/oleo.html "$pkgdir/usr/share/doc/oleo/oleo.html"