Commit ee87878e authored by Timothy Legge's avatar Timothy Legge Committed by Leo

testing/odt2txt: new aport

parent bae2e654
# Contributor: Timothy Legge <timlegge@gmail.com>
# Maintainer: Timothy Legge <timlegge@gmail.com>
pkgname=odt2txt
pkgver=0.5_git20170928
pkgrel=0
pkgdesc="extracts the text out of OpenDocument Texts"
url="https://github.com/dstosberg/odt2txt/"
arch="x86_64"
license="GPL-2.0-only"
_commit="56b945e7304b899db78a658cc7c60a3c9afd984d"
source="$pkgname.zip::https://github.com/dstosberg/odt2txt/archive/$_commit.zip"
builddir="$srcdir/$pkgname-$_commit"
makedepends="zlib-dev libzip-dev make"
subpackages="$pkgname-doc"
# No checks are available in the source package
options="!check"
build() {
make
}
package() {
install -Dm755 odt2txt "$pkgdir"/usr/bin/odt2txt
install -Dm644 odt2txt.1 "$pkgdir"/usr/share/man/man1/odt2txt.1
}
sha512sums="bff0e0903b4e6d04784bb4a4f6375d32c67bc9695fd83f0974cc53cef414e25b385b92f56467d41a66e8cf9fe4c85f23f5b99c7cf01f11f4b32741f1b4e43d43 odt2txt.zip"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment