[arch-commits] Commit in catdoc/trunk (PKGBUILD)
Eric BĂ©langer
eric at archlinux.org
Mon Jun 11 21:02:01 UTC 2012
Date: Monday, June 11, 2012 @ 17:02:01
Author: eric
Revision: 161486
upgpkg: catdoc 0.94.3-1
Upstream update, Update source url
Modified:
catdoc/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-06-11 20:06:48 UTC (rev 161485)
+++ PKGBUILD 2012-06-11 21:02:01 UTC (rev 161486)
@@ -3,8 +3,8 @@
# Contributor: Paulius Palevicius <paulius at 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 @@
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 @@
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
}
More information about the arch-commits
mailing list