summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')