updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / odt2txt / PKGBUILD
bloba5458b432ff65696b7754906ef6caa568da31c20
1 # Contributor: Vladimir Chizhov <jagoterr@gmail.com>
3 pkgname=odt2txt
4 pkgver=0.4
5 pkgrel=1
6 pkgdesc="extracts the text out of OpenDocument Texts"
7 url="http://stosberg.net/odt2txt/"
8 license="GPL-2"
9 arch=('i686' 'x86_64')
10 depends=()
11 makedepends=()
12 conflicts=()
13 replaces=()
14 backup=()
15 install=
16 source=(http://stosberg.net/odt2txt/$pkgname-$pkgver.tar.gz)
17 md5sums=('6fe3bd261ce2dde2810244bbe969bbc5')
19 build() {
20   cd $startdir/src/$pkgname-$pkgver
21   make || return 1
22   mkdir -p $startdir/pkg/usr/bin/
23   mkdir -p $startdir/pkg/usr/share/man/man1
24   gzip $startdir/src/$pkgname-$pkgver/odt2txt.1
25   install -D -m755 odt2txt $startdir/pkg/usr/bin/
26   install -D -m644 odt2txt.1.gz $startdir/pkg/usr/share/man/man1