summaryrefslogtreecommitdiff
path: root/extra/catdoc/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-06-14 18:16:51 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-06-14 18:16:51 +0200
commitb32e36625b44b5c002c417ab4faf6311258c7671 (patch)
tree87f91f6f7d9ccb229f9c7613f5411534bd504f5e /extra/catdoc/PKGBUILD
parent1a274201c465801ed2271018f426f0eaf7098215 (diff)
parent35c30674b2b901077a809a6f1d8e5a0115098c8b (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/mplayer2/PKGBUILD community/pcmanfm/PKGBUILD extra/liblrdf/PKGBUILD extra/php-apc/PKGBUILD extra/sqlite/PKGBUILD kde-unstable/libkgapi/PKGBUILD kde-unstable/soprano/PKGBUILD multilib/lib32-libphobos-ldc/PKGBUILD multilib/lib32-pixman/PKGBUILD multilib/lib32-sqlite3/PKGBUILD
Diffstat (limited to 'extra/catdoc/PKGBUILD')
-rw-r--r--extra/catdoc/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/catdoc/PKGBUILD b/extra/catdoc/PKGBUILD
index aa4f7da01..e4399c1be 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 'mips64el')
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
}