summaryrefslogtreecommitdiff
path: root/~lukeshu/xml2rfc
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-27 17:17:37 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2011-12-27 17:17:37 -0300
commit0c14c3dd36e1c2f529ffa248383a275cfb21f168 (patch)
treef844a262139ed9aadefa9707776794927a12b1de /~lukeshu/xml2rfc
parentb24bcd7ea54466fae5136027d6b5bd9fb3741012 (diff)
parentcdb44f3dc8b59a656b0dc5568d731bdcb7c9ff60 (diff)
downloadabslibre-0c14c3dd36e1c2f529ffa248383a275cfb21f168.tar.gz
abslibre-0c14c3dd36e1c2f529ffa248383a275cfb21f168.tar.bz2
abslibre-0c14c3dd36e1c2f529ffa248383a275cfb21f168.zip
Merge branch 'master' of ssh://gparabola/abslibre
Diffstat (limited to '~lukeshu/xml2rfc')
-rw-r--r--~lukeshu/xml2rfc/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
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 <lukeshu@sbcglobal.net>
+
+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')