upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / odt2txt / trunk / PKGBUILD
blobc7d9bd776bff53a7b797a15405772ba5de0f4605
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Vladimir Chizhov <jagoterr@gmail.com>
4 pkgname=odt2txt
5 pkgver=0.5
6 pkgrel=5
7 _commit=de7f920f4d8fc858b448d118189c791fe8d7fbca
8 pkgdesc="extracts the text out of OpenDocument Texts"
9 url="https://github.com/dstosberg/odt2txt/"
10 license=("GPL2")
11 arch=('x86_64')
12 depends=('zlib' 'libzip')
13 makedepends=('git')
14 source=("$pkgname::git+https://github.com/dstosberg/odt2txt.git#commit=${_commit}")
15 sha256sums=('SKIP')
17 build() {
18   cd "$srcdir"/$pkgname
19   make
22 package() {
23   cd "$srcdir"/$pkgname
24   install -Dm755 odt2txt "$pkgdir"/usr/bin/odt2txt
25   install -Dm644 odt2txt.1 "$pkgdir"/usr/share/man/man1/odt2txt.1