updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / o3read / PKGBUILD
blob87afe7fc334d4f52c96d6b52c0c2b6404168835b
1 # Contributor: Charlos <hunarch@devall.hu>
2 pkgname=o3read
3 pkgver=0.0.4
4 pkgrel=1
5 pkgdesc="*.sxw, *.sxc and *.odt files view with text mode"
6 arch=('i686' 'x86_64')
7 url="http://siag.nu/pub/o3read"
8 license=('GPL')
9 depends=()
10 makedepends=()
11 source=(http://siag.nu/pub/o3read/$pkgname-$pkgver.tar.gz destdir.patch)
12 md5sums=('583361b559ccf5a764edb586795d1b06'
13          '7a83ed8f2b7008710a8ff74d162df8fa')
15 build() {
16    cd $startdir/src/$pkgname-$pkgver
17    patch -p1 < ../destdir.patch
18   ./configure
19   make -j2 || return 1
20   make DESTDIR=${startdir}/pkg install || return 1