From ee87878e9e50de04e77ca0b75b1a1a4f70c8096c Mon Sep 17 00:00:00 2001 From: Timothy Legge Date: Fri, 29 Nov 2019 02:46:49 +0000 Subject: testing/odt2txt: new aport --- testing/odt2txt/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/odt2txt/APKBUILD (limited to 'testing') diff --git a/testing/odt2txt/APKBUILD b/testing/odt2txt/APKBUILD new file mode 100644 index 00000000000..96e20be2835 --- /dev/null +++ b/testing/odt2txt/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: Timothy Legge +# Maintainer: Timothy Legge +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" -- cgit v1.2.3