From a8cd4b5d23a0d4cda20a768914b51d5fdd223799 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 25 Dec 2011 18:08:05 -0500 Subject: add ~lukeshu/xml2rfc --- ~lukeshu/xml2rfc/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ~lukeshu/xml2rfc/PKGBUILD (limited to '~lukeshu/xml2rfc') diff --git a/~lukeshu/xml2rfc/PKGBUILD b/~lukeshu/xml2rfc/PKGBUILD new file mode 100644 index 000000000..b52ab21a8 --- /dev/null +++ b/~lukeshu/xml2rfc/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Luke Shumaker + +pkgname=xml2rfc +pkgver=1.36 +pkgrel=1 +pkgdesc="A tool to parse RFC 2629 XML files, and render them to TXT, PDF, HTML, and other formats." +arch=('any') +url="http://xml.resource.org/" +license=('custom:BSD-3') +depends=('tcl>=8') +optdepends=('tk: for xml2sgml and graphical xml2rfc') +makedepends=('java-environment') +source=("http://xml.resource.org/authoring/$pkgname-$pkgver.tgz") + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + install -d "$pkgdir/usr/share/doc/$pkgname" + install -m644 README.* draft-mrose-writing-rfcs.* example.* "$pkgdir/usr/share/doc/$pkgname" + + install -d "$pkgdir/usr/share/$pkgname" + install -m644 rfc2629.* "$pkgdir/usr/share/$pkgname" + + install -D -m755 xml2rfc.tcl "$pkgdir/usr/bin/xml2rfc" + install -D -m755 xml2sgml.tcl "$pkgdir/usr/bin/xml2sgml" +} + +md5sums=('f96aa187e2ef86affe2843b556556b60') -- cgit v1.2.3