summaryrefslogtreecommitdiff
path: root/extra/catdoc
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-13 00:01:51 +0000
committerroot <root@rshg054.dnsready.net>2012-06-13 00:01:51 +0000
commitf46e734fbcd0b4cbae2cff1a017b95e4e8e02d53 (patch)
tree155102fee24f637e46976eb759175c3c2fbc1f40 /extra/catdoc
parentfd4cd23b679e620a51c42e87a0655d55704fdba8 (diff)
Wed Jun 13 00:01:51 UTC 2012
Diffstat (limited to 'extra/catdoc')
-rw-r--r--extra/catdoc/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/catdoc/PKGBUILD b/extra/catdoc/PKGBUILD
index cf8523bff..b8726b402 100644
--- a/extra/catdoc/PKGBUILD
+++ b/extra/catdoc/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 128489 2011-06-24 04:50:44Z eric $
+# $Id: PKGBUILD 161488 2012-06-11 21:02:16Z eric $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Paulius Palevicius <paulius@birzai.com>
pkgname=catdoc
-pkgver=0.94.2
-pkgrel=3
+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/"
@@ -12,11 +12,13 @@ license=('GPL')
depends=('glibc')
optdepends=('tk: for using wordview')
options=('!makeflags')
-source=(http://ftp.wagner.pp.ru/pub/catdoc/$pkgname-$pkgver.tar.gz)
-md5sums=('243e1680bb3e703616f5adecfee24491')
+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
}
@@ -24,4 +26,6 @@ build() {
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
}