diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/docbook2x/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/docbook2x/PKGBUILD')
-rw-r--r-- | community/docbook2x/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/docbook2x/PKGBUILD b/community/docbook2x/PKGBUILD new file mode 100644 index 000000000..4bc84cdc8 --- /dev/null +++ b/community/docbook2x/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 67604 2012-03-13 14:04:01Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com> + +pkgname=docbook2x +pkgver=0.8.8 +pkgrel=11 +pkgdesc="A software package that converts DocBook documents into the traditional Unix man page format and the GNU Texinfo format." +arch=('i686' 'x86_64') +url="http://docbook2x.sourceforge.net" +license=("MIT") +depends=('glibc' 'perl-sgmls' 'perlxml' 'perl-xml-sax' 'libxslt' 'jade') +makedepends=('texinfo') +install=docbook2x.install +source=(http://downloads.sourceforge.net/$pkgname/docbook2X-$pkgver.tar.gz + datadir.diff) +md5sums=('b9b76a6af198c4f44574cfd17a322f01' + '826fae88a435d9278c4f9614991d55a1') + +build() { + cd $srcdir/docbook2X-$pkgver + patch -p1 <$srcdir/datadir.diff + + autoreconf + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --program-transform-name 's,2x-,2,' \ + + make + + make DESTDIR=$pkgdir install + install -D -m0644 COPYING $pkgdir/usr/share/licenses/$pkgname/license + sed -i 's|http://docbook2x.sf.net/latest|/usr/share/docbook2X|g' \ + $pkgdir/usr/bin/db2x_xsltproc +} |