aboutsummaryrefslogtreecommitdiffstats
path: root/community/odt2txt/APKBUILD
blob: 96e20be28358f74ea5636e7d3ffb4c0c7794d744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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"