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

Tobias Powalowski tpowa at archlinux.org
Mon Jan 3 17:33:16 EST 2011


    Date: Monday, January 3, 2011 @ 17:33:16
  Author: tpowa
Revision: 104541

upgpkg: groff 1.21-1
bump to latest version and fix #21245

Modified:
  groff/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-03 22:14:06 UTC (rev 104540)
+++ PKGBUILD	2011-01-03 22:33:16 UTC (rev 104541)
@@ -1,8 +1,8 @@
 # $Id$
 # Maintainer: judd <jvinet at zeroflux.org>
 pkgname=groff
-pkgver=1.20.1
-pkgrel=4
+pkgver=1.21
+pkgrel=1
 pkgdesc="GNU troff text-formatting system"
 arch=(i686 x86_64)
 url="http://www.gnu.org/software/groff/groff.html"
@@ -13,23 +13,27 @@
             'psutils: for use together with man -H command interaction in browsers')
 source=(ftp://ftp.gnu.org/gnu/groff/groff-$pkgver.tar.gz
         site.tmac)
+options=('!makeflags')
 install=groff.install
-md5sums=('48fa768dd6fdeb7968041dd5ae8e2b02'
+md5sums=('8b8cd29385b97616a0f0d96d0951c5bf'
          'a1fedafd7863b37968d32ad9ae1d8c13')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
   ./configure --prefix=/usr --without-x
   mkdir -p $pkgdir/usr
-  make -j1 || return 1
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
   make prefix=$pkgdir/usr install
 	cd $pkgdir/usr/bin
 	# needed for xman
 	ln -s eqn geqn
 	ln -s tbl gtbl
 	ln -s soelim zsoelim
-  rm -rf $pkgdir/usr/lib
-
+  rm -rf $pkgdir/usr/lib/groff/site-tmac
   # Fix some issues when encoding to utf8 man pages
   #  The output chars don't match keyboard chars...
   cat $srcdir/site.tmac >> \



More information about the arch-commits mailing list