Newer
Older
# Maintainer: Kyle Keen <keenerd@gmail.com>
pkgname=docx2txt
pkgver=1.4
pkgdesc="Recovers text from DOCX files, with good formatting."
arch=('any')
url="http://docx2txt.sourceforge.net"
license=('GPL')
depends=('perl' 'unzip')
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tgz)
sha256sums=('b297752910a404c1435e703d5aedb4571222bd759fa316c86ad8c8bbe58c6d1b')
package() {
cd "$srcdir/$pkgname-$pkgver"
#make INSTALLDIR="$pkgdir/usr/bin/"
#make INSTALLDIR="$pkgdir/usr/bin/" install
install -Dm644 docx2txt.config "$pkgdir/etc/docx2txt.config"
install -Dm755 docx2txt.pl "$pkgdir/usr/bin/docx2txt"
#install -Dm755 docx2txt.sh "$pkgdir/usr/bin/docx2txt.sh"