summaryrefslogtreecommitdiff
path: root/extra/catdoc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/catdoc/PKGBUILD')
-rw-r--r--extra/catdoc/PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/extra/catdoc/PKGBUILD b/extra/catdoc/PKGBUILD
index 2b46013c6..cf8523bff 100644
--- a/extra/catdoc/PKGBUILD
+++ b/extra/catdoc/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 31735 2009-03-28 03:50:45Z eric $
+# $Id: PKGBUILD 128489 2011-06-24 04:50:44Z eric $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Paulius Palevicius <paulius@birzai.com>
pkgname=catdoc
pkgver=0.94.2
-pkgrel=2
+pkgrel=3
pkgdesc="A convertor for Microsoft Word, Excel, PowerPoint and RTF Files to text"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.wagner.pp.ru/~vitus/software/catdoc/"
license=('GPL')
depends=('glibc')
@@ -16,9 +16,12 @@ source=(http://ftp.wagner.pp.ru/pub/catdoc/$pkgname-$pkgver.tar.gz)
md5sums=('243e1680bb3e703616f5adecfee24491')
build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --with-wish=/usr/bin/wish || return 1
- make || return 1
- make installroot=$pkgdir mandir=/usr/share/man/man1 install || return 1
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --with-wish=/usr/bin/wish
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make installroot="$pkgdir" mandir=/usr/share/man/man1 install
}
-# vim: ts=2 sw=2 et ft=sh