[arch-commits] Commit in antiword/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Mon Jun 22 12:00:09 UTC 2009
Date: Monday, June 22, 2009 @ 08:00:09
Author: allan
Revision: 43328
upgpkg: antiword 0.37-2
add man page (FS#15195)
Modified:
antiword/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-06-22 10:40:28 UTC (rev 43327)
+++ PKGBUILD 2009-06-22 12:00:09 UTC (rev 43328)
@@ -3,7 +3,7 @@
pkgname=antiword
pkgver=0.37
-pkgrel=1
+pkgrel=2
pkgdesc="Antiword is a free MS Word reader for Linux and RISC OS"
arch=('i686' 'x86_64')
url="http://www.winfield.demon.nl/"
@@ -16,10 +16,11 @@
build()
{
- cd $startdir/src/$pkgname-$pkgver
+ cd $srcdir/$pkgname-$pkgver
sed -i "s|CFLAGS =.*|CFLAGS = $CFLAGS -DNDEBUG|g; \
s|GLOBAL_INSTALL_DIR =.*|GLOBAL_INSTALL_DIR = /usr/bin|g" \
Makefile.Linux
- make DESTDIR=$startdir/pkg global_install
- install -m755 $startdir/src/antiword-helper $startdir/pkg/usr/bin/
+ make DESTDIR=$pkgdir global_install
+ install -m755 $srcdir/antiword-helper $pkgdir/usr/bin/
+ install -Dm644 Docs/antiword.1 $pkgdir/usr/share/man/man1/antiword.1
}
More information about the arch-commits
mailing list