[arch-commits] Commit in catdoc/trunk (PKGBUILD)

Eric Bélanger eric at archlinux.org
Sat Mar 28 03:50:28 UTC 2009


    Date: Friday, March 27, 2009 @ 23:50:27
  Author: eric
Revision: 31734

upgpkg: catdoc 0.94.2-2
    Updated url, Added tk optdepends, Disabled SMP build, FHS man pages

Modified:
  catdoc/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-03-28 03:35:38 UTC (rev 31733)
+++ PKGBUILD	2009-03-28 03:50:27 UTC (rev 31734)
@@ -4,19 +4,21 @@
 
 pkgname=catdoc
 pkgver=0.94.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A convertor for Microsoft Word, Excel, PowerPoint and RTF Files to text"
 arch=(i686 x86_64)
-url="http://www.45.free.net/~vitus/software/catdoc/"
+url="http://www.wagner.pp.ru/~vitus/software/catdoc/"
 license=('GPL')
 depends=('glibc')
-source=(ftp://ftp.45.free.net/pub/catdoc/$pkgname-$pkgver.tar.gz)
+optdepends=('tk: for using wordview')
+options=('!makeflags')
+source=(http://ftp.wagner.pp.ru/pub/catdoc/$pkgname-$pkgver.tar.gz)
 md5sums=('243e1680bb3e703616f5adecfee24491')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr  --with-wish=/usr/bin/wish
-  /usr/bin/make || return 1
-  /usr/bin/make prefix=$startdir/pkg/usr install
+  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
 }
 # vim: ts=2 sw=2 et ft=sh




More information about the arch-commits mailing list