public
Created

heirloom-doctools-cvs PKGBUILD

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
# Contributed by; Jens Staal <staal1978@gmail.com>
pkgname=heirloom-doctools-cvs
pkgver=2011.06.22
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="The Heirloom Documentation Tools consist of a modern roff suite."
url="http://heirloom.sourceforge.net/doctools.html"
license=('custom:"caldera"' 'custom:"opensolaris"' 'custom:"lucent"')
source=('config.diff')
md5sums=('197189751149ea9a10e43dd45b8b9ab2')
 
build() {
 
cvs -d:pserver:anonymous:@heirloom.cvs.sourceforge.net:/cvsroot/heirloom login
cvs -d:pserver:anonymous:@heirloom.cvs.sourceforge.net:/cvsroot/heirloom co -P heirloom-doctools
 
rm -rf $srcdir/build
cp -ar $srcdir/heirloom-doctools $srcdir/build
cd $srcdir/build
patch -p1 < ../config.diff
make
}
 
package() {
cd $srcdir/build
make install ROOT=$pkgdir
mkdir -p $pkgdir/usr/share/licenses/$pkgname
install -m0644 $srcdir/heirloom-doctools/LICENSE/CALDERA.LICENSE $pkgdir/usr/share/licenses/${pkgname}/CALDERA.LICENSE
install -m0644 $srcdir/heirloom-doctools/LICENSE/OPENSOLARIS.LICENSE $pkgdir/usr/share/licenses/${pkgname}/OPENSOLARIS.LICENSE
install -m0644 $srcdir/heirloom-doctools/LICENSE/LUCENT.LICENSE $pkgdir/usr/share/licenses/${pkgname}/LUCENT.LICENSE
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.