[arch-commits] Commit in docx2txt/repos (community-any community-any/PKGBUILD)

Kyle Keen kkeen at archlinux.org
Wed Jan 27 14:21:21 UTC 2016


    Date: Wednesday, January 27, 2016 @ 15:21:21
  Author: kkeen
Revision: 159256

archrelease: copy trunk to community-any

Added:
  docx2txt/repos/community-any/
  docx2txt/repos/community-any/PKGBUILD
    (from rev 159255, docx2txt/trunk/PKGBUILD)

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Copied: docx2txt/repos/community-any/PKGBUILD (from rev 159255, docx2txt/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2016-01-27 14:21:21 UTC (rev 159256)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+pkgname=docx2txt
+pkgver=1.4
+pkgrel=2
+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"
+}
+



More information about the arch-commits mailing list