From 401b6463c60a1d979301e882343855eedf8dd14c Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 6 Aug 2012 21:29:36 -0500
Subject: groff 1.21

---
 abs/core/groff/PKGBUILD | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/abs/core/groff/PKGBUILD b/abs/core/groff/PKGBUILD
index fac0af8..f007e1d 100644
--- a/abs/core/groff/PKGBUILD
+++ b/abs/core/groff/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 71613 2010-03-07 21:58:14Z paul $
+# $Id: PKGBUILD 142313 2011-11-08 10:57:28Z tpowa $
 # Maintainer: judd <jvinet@zeroflux.org>
 pkgname=groff
-pkgver=1.20.1
-pkgrel=4
+pkgver=1.21
+pkgrel=2
 pkgdesc="GNU troff text-formatting system"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
 url="http://www.gnu.org/software/groff/groff.html"
 license=('GPL')
 depends=('perl' 'gcc-libs' 'texinfo')
@@ -13,16 +13,23 @@ optdepends=('netpbm: for use together with man -H command interaction in browser
             '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 !docs)
 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
 }
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  make check
+}
+
 package() {
   cd $srcdir/$pkgname-$pkgver
   make prefix=$pkgdir/usr install
@@ -31,8 +38,7 @@ package() {
 	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 >> \
-- 
cgit v0.12

