diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 44 insertions, 21 deletions
@@ -1,6 +1,6 @@ pkgbase = groff-git pkgdesc = GNU Troff. Official git trunk. - pkgver = 1.22.3.r2802 + pkgver = 1.22.3.r2837 pkgrel = 1 url = http://www.gnu.org/software/groff/ install = groff-git.install @@ -8,18 +8,20 @@ pkgbase = groff-git arch = x86_64 license = GPL makedepends = git - depends = perl - depends = gcc-libs - depends = netpbm - depends = psutils - depends = ghostscript - depends = libxaw + makedepends = netpbm + makedepends = psutils + makedepends = ghostscript + makedepends = libxaw + optdepends = netpbm: grohtml image processing. + optdepends = psutils: postscript file transformation. + optdepends = ghostscript: grohtml image and gropdf PDF file creation. + optdepends = libxaw: To enable gxditvew. provides = groff conflicts = groff source = groff-git::git://git.savannah.gnu.org/groff.git source = site.tmac - md5sums = SKIP - md5sums = a1fedafd7863b37968d32ad9ae1d8c13 + sha384sums = SKIP + sha384sums = 393a4e1b807ab3f77e0ceb10c0c844b130720b65a46e561187e5a59268e1dce04c0d54ca5271f171dc2af62501197a19 pkgname = groff-git @@ -1,21 +1,26 @@ -# See AUR interface for current maintainer. +# Maintainer: See AUR interface for current maintainer and contact information. pkgname=groff-git -pkgver=1.22.3.r2802 +pkgver=1.22.3.r2837 pkgrel=1 pkgdesc="GNU Troff. Official git trunk." arch=('i686' 'x86_64') url="http://www.gnu.org/software/groff/" license=('GPL') -depends=('perl' 'gcc-libs' 'netpbm' 'psutils' 'ghostscript' 'libxaw') -makedepends=('git') +depends=() +makedepends=('git' 'netpbm' 'psutils' 'ghostscript' 'libxaw') conflicts=('groff') provides=('groff') install="$pkgname".install source=("$pkgname::git://git.savannah.gnu.org/groff.git" +#source=("$pkgname::git+http://git.savannah.gnu.org/r/groff.git" 'site.tmac') -md5sums=('SKIP' - 'a1fedafd7863b37968d32ad9ae1d8c13') +optdepends=('netpbm: grohtml image processing.' + 'psutils: postscript file transformation.' + 'ghostscript: grohtml image and gropdf PDF file creation.' + 'libxaw: To enable gxditvew.') +sha384sums=('SKIP' + '393a4e1b807ab3f77e0ceb10c0c844b130720b65a46e561187e5a59268e1dce04c0d54ca5271f171dc2af62501197a19') pkgver() { cd "$srcdir/$pkgname" @@ -30,18 +35,31 @@ prepare() { } build() { - cd "$srcdir/$pkgname" - ./configure \ - --prefix=/usr \ - --with-x \ - --with-appresdir=/usr/share/X11/app-defaults \ + mkdir -p "$srcdir/$pkgname"/build + cd "$srcdir/$pkgname"/build + + local _configopts=( + --prefix=/usr + --disable-rpath + --with-x + --with-appresdir=/usr/share/X11/app-defaults --with-doc=yes + ) + + ../configure "${_configopts[@]}" make } +check() { + cd "$srcdir/$pkgname"/build + + make check +} + package() { - cd "$srcdir/$pkgname" + cd "$srcdir/$pkgname"/build + make DESTDIR="$pkgdir/" install ## Copypaste from core package's PKGBUILD... @@ -53,6 +71,9 @@ package() { # FS33760 - TERMCAP variables not followed # TODO: everyone is doing this - find out why upstream does not... + # + # Having being privy the whole thing longer than 10 years ago... Blech! V. + # cat $srcdir/site.tmac >> \ $pkgdir/usr/share/groff/site-tmac/man.local cat $srcdir/site.tmac >> \ |