summaryrefslogtreecommitdiff
path: root/community/odt2txt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/odt2txt/PKGBUILD')
-rw-r--r--community/odt2txt/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/community/odt2txt/PKGBUILD b/community/odt2txt/PKGBUILD
index 8ff16fba4..f63d30894 100644
--- a/community/odt2txt/PKGBUILD
+++ b/community/odt2txt/PKGBUILD
@@ -1,21 +1,26 @@
-# $Id: PKGBUILD 69493 2012-04-17 10:36:52Z spupykin $
+# $Id: PKGBUILD 114113 2014-07-01 13:31:30Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Vladimir Chizhov <jagoterr@gmail.com>
pkgname=odt2txt
pkgver=0.4
-pkgrel=1
+pkgrel=2
pkgdesc="extracts the text out of OpenDocument Texts"
-url="http://stosberg.net/odt2txt/"
+url="https://github.com/dstosberg/odt2txt/"
license=("GPL2")
arch=('i686' 'x86_64')
depends=('zlib')
-source=(http://stosberg.net/odt2txt/$pkgname-$pkgver.tar.gz)
-md5sums=('6fe3bd261ce2dde2810244bbe969bbc5')
+makedepends=('git')
+source=("$pkgname::git://github.com/dstosberg/odt2txt.git")
+md5sums=('SKIP')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd $srcdir/$pkgname
make
+}
+
+package() {
+ cd $srcdir/$pkgname
install -Dm755 odt2txt $pkgdir/usr/bin/odt2txt
install -Dm644 odt2txt.1 $pkgdir/usr/share/man/man1/odt2txt.1
}