summaryrefslogtreecommitdiff
path: root/community/odt2txt/PKGBUILD
blob: f63d30894b58dc126649c474a2bdad67d030ec77 (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
# $Id: PKGBUILD 114113 2014-07-01 13:31:30Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Vladimir Chizhov <jagoterr@gmail.com>

pkgname=odt2txt
pkgver=0.4
pkgrel=2
pkgdesc="extracts the text out of OpenDocument Texts"
url="https://github.com/dstosberg/odt2txt/"
license=("GPL2")
arch=('i686' 'x86_64')
depends=('zlib')
makedepends=('git')
source=("$pkgname::git://github.com/dstosberg/odt2txt.git")
md5sums=('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
}