Date: Friday, November 9, 2018 @ 22:02:47 Author: felixonmars Revision: 404823
archrelease: copy trunk to community-staging-x86_64 Added: odt2txt/repos/community-staging-x86_64/ odt2txt/repos/community-staging-x86_64/PKGBUILD (from rev 404821, odt2txt/trunk/PKGBUILD) ----------+ PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Copied: odt2txt/repos/community-staging-x86_64/PKGBUILD (from rev 404821, odt2txt/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-11-09 22:02:47 UTC (rev 404823) @@ -0,0 +1,26 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Vladimir Chizhov <jagot...@gmail.com> + +pkgname=odt2txt +pkgver=0.5 +pkgrel=3 +_commit=de7f920f4d8fc858b448d118189c791fe8d7fbca +pkgdesc="extracts the text out of OpenDocument Texts" +url="https://github.com/dstosberg/odt2txt/" +license=("GPL2") +arch=('x86_64') +depends=('zlib' 'libzip') +makedepends=('git') +source=("$pkgname::git://github.com/dstosberg/odt2txt.git#commit=${_commit}") +sha256sums=('SKIP') + +build() { + 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 +}