Skip to content
Snippets Groups Projects
PKGBUILD 700 B
Newer Older
Kyle Keen's avatar
Kyle Keen committed
# Maintainer: Kyle Keen <keenerd@gmail.com>
pkgname=docx2txt
pkgver=1.4
Kyle Keen's avatar
Kyle Keen committed
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)
T.J. Townsend's avatar
T.J. Townsend committed
sha256sums=('b297752910a404c1435e703d5aedb4571222bd759fa316c86ad8c8bbe58c6d1b')
Kyle Keen's avatar
Kyle Keen committed

package() {
  cd "$srcdir/$pkgname-$pkgver"
  #make INSTALLDIR="$pkgdir/usr/bin/"
  #make INSTALLDIR="$pkgdir/usr/bin/" install
  install -Dm644 docx2txt.config "$pkgdir/etc/docx2txt.config"
Kyle Keen's avatar
Kyle Keen committed
  install -Dm755 docx2txt.pl "$pkgdir/usr/bin/docx2txt"
  #install -Dm755 docx2txt.sh "$pkgdir/usr/bin/docx2txt.sh"