blob: b52ab21a8318e87e72ed5a4b4f30e406dfb910d2 (
plain)
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
33
34
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')
|