[arch-commits] Commit in antiword/repos (extra-i686 extra-i686/PKGBUILD)

Allan McRae allan at archlinux.org
Mon Jun 22 12:01:16 UTC 2009


    Date: Monday, June 22, 2009 @ 08:01:16
  Author: allan
Revision: 43329

Merged revisions 43328 via svnmerge from 
svn+ssh://archlinux.org/srv/svn-packages/antiword/trunk

........
  r43328 | allan | 2009-06-22 22:00:09 +1000 (Mon, 22 Jun 2009) | 2 lines
  
  upgpkg: antiword 0.37-2
      add man page (FS#15195)
........

Modified:
  antiword/repos/extra-i686/	(properties)
  antiword/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)


Property changes on: antiword/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /antiword/trunk:1-41432
   + /antiword/trunk:1-43328

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-06-22 12:00:09 UTC (rev 43328)
+++ extra-i686/PKGBUILD	2009-06-22 12:01:16 UTC (rev 43329)
@@ -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