updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / docx2txt / PKGBUILD
blobba22727cfa5e802287d7110ba69e245a5215765d
1 # Contributor: Kyle Keen <keenerd@gmail.com>
2 pkgname=docx2txt
3 pkgver=1.0
4 pkgrel=2
5 pkgdesc="Recovers text from DOCX files, with good formatting."
6 arch=('any')
7 url="http://docx2txt.sourceforge.net"
8 license=('GPL')
9 depends=('perl' 'unzip')
10 makedepends=()
11 source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tgz?download)
12 md5sums=('7a2d3404c445b6d2d24d62bf5fc68116')
14 build() {
15   cd "$srcdir"/$pkgname-$pkgver
16   #make INSTALLDIR="$pkgdir/usr/bin/" || return 1
17   #make INSTALLDIR="$pkgdir/usr/bin/" install || return 1
18   install -Dm644 docx2txt.config "$pkgdir"/etc/docx2txt.config
19   install -Dm755 docx2txt.pl "$pkgdir"/usr/bin/docx2txt.pl
20   install -Dm755 docx2txt.sh "$pkgdir"/usr/bin/docx2txt.sh
22