diff options
author | root <root@rshg054.dnsready.net> | 2012-08-31 00:04:43 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-31 00:04:43 +0000 |
commit | 68cdc08aec92abf91448a542e06fabbedbb583bf (patch) | |
tree | 2c42e2f29a6162e0cb5ff3db8f0b46277ab4ed90 /community/catdoc/PKGBUILD | |
parent | dba5b0127d9f00a13c489f0f5893481cbe7d429b (diff) |
Fri Aug 31 00:04:43 UTC 2012
Diffstat (limited to 'community/catdoc/PKGBUILD')
-rw-r--r-- | community/catdoc/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/catdoc/PKGBUILD b/community/catdoc/PKGBUILD new file mode 100644 index 000000000..bad621899 --- /dev/null +++ b/community/catdoc/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 75719 2012-08-29 11:08:22Z bisson $ +# Maintainer: Juergen Hoetzel <juergen@archlinux.org> +# Contributor: Paulius Palevicius <paulius@birzai.com> + +pkgname=catdoc +pkgver=0.94.3 +pkgrel=1 +pkgdesc="A convertor for Microsoft Word, Excel, PowerPoint and RTF Files to text" +arch=('i686' 'x86_64') +url="http://www.wagner.pp.ru/~vitus/software/catdoc/" +license=('GPL') +depends=('glibc') +optdepends=('tk: for using wordview') +options=('!makeflags') +source=(http://ftp.de.debian.org/debian/pool/main/c/catdoc/${pkgname}_$pkgver.orig.tar.gz) +md5sums=('61212b9fd06b0a31aa7bc9a671130f57') + +build() { + cd "$srcdir/$pkgname-$pkgver" + sed -i 's/$(prefix)/$(installroot)$(prefix)/' desktop/Makefile.in + sed -i 's/0.94.2/0.94.3/' configure* doc/*.1 src/makefile.tc + ./configure --prefix=/usr --with-wish=/usr/bin/wish + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make installroot="$pkgdir" mandir=/usr/share/man/man1 install + install -d "$pkgdir"/usr/share/man/man1 + install -m644 doc/*.1 "$pkgdir"/usr/share/man/man1 +} |