summaryrefslogtreecommitdiff
path: root/extra/catdoc/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-25 23:07:08 +0000
committerroot <root@rshg047.dnsready.net>2011-06-25 23:07:08 +0000
commit8999fa1750304fb2367fb7743e49e013405e88be (patch)
tree6d7215ded2da992cde7f24d17c16ff3288deeaf6 /extra/catdoc/PKGBUILD
parent71f58605e914de11f3a9b7cc2f27b0c52fb8d4ba (diff)
Sat Jun 25 23:07:08 UTC 2011
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