summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-12-16 07:23:41 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-12-16 07:23:41 -0300
commit151d966f452da850e20cbec4d0fa8fbeb0144f1a (patch)
tree6b4949dd758c521ee2df2a818334ae4b114cfb8a /pcr
parent828177f227f3c8912a98e6c089aa83012e5fd606 (diff)
downloadabslibre-151d966f452da850e20cbec4d0fa8fbeb0144f1a.tar.gz
abslibre-151d966f452da850e20cbec4d0fa8fbeb0144f1a.tar.bz2
abslibre-151d966f452da850e20cbec4d0fa8fbeb0144f1a.zip
docx2txt: add new package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r--pcr/docx2txt/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcr/docx2txt/PKGBUILD b/pcr/docx2txt/PKGBUILD
new file mode 100644
index 000000000..ea6b916dc
--- /dev/null
+++ b/pcr/docx2txt/PKGBUILD
@@ -0,0 +1,22 @@
+# Contributor (Arch): Kyle Keen <keenerd@gmail.com>
+pkgname=docx2txt
+pkgver=1.4
+pkgrel=1
+pkgdesc="Recovers text from DOCX files, with good formatting."
+arch=('any')
+url="http://docx2txt.sourceforge.net"
+license=('GPL')
+depends=('perl' 'unzip')
+source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tgz)
+md5sums=('780f468c16d547b02723b98aadc52c63')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ #make INSTALLDIR="$pkgdir/usr/bin/"
+ #make INSTALLDIR="$pkgdir/usr/bin/" install
+ # todo, fix these extensions
+ install -Dm644 docx2txt.config "$pkgdir/etc/docx2txt.config"
+ install -Dm755 docx2txt.pl "$pkgdir/usr/bin/docx2txt.pl"
+ install -Dm755 docx2txt.sh "$pkgdir/usr/bin/docx2txt.sh"
+}
+