From 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Jul 2013 01:10:32 -0700 Subject: Fri Jul 19 01:09:18 PDT 2013 --- community/catdoc/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 community/catdoc/PKGBUILD (limited to 'community/catdoc/PKGBUILD') diff --git a/community/catdoc/PKGBUILD b/community/catdoc/PKGBUILD new file mode 100644 index 000000000..549cddb7d --- /dev/null +++ b/community/catdoc/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 89169 2013-04-27 12:49:08Z kkeen $ +# Maintainer: Juergen Hoetzel +# Contributor: Paulius Palevicius + +pkgname=catdoc +pkgver=0.94.4 +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=('4820680e3611392caf2b4dd2413bfae5') + +build() { + cd "$srcdir/$pkgname-$pkgver" + sed -i 's/$(prefix)/$(installroot)$(prefix)/' desktop/Makefile.in + sed -i 's/0.94.2/0.94.4/' 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 +} -- cgit v1.2.3-54-g00ecf