blob: 7579e4f57d5e41a5a5a76b7f44851fb3ed590da0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer (Arch): milki <milki at rescomp dot berkeley dot edu>
# Maintainer: André Silva <emulatorman@hyperbola.info>
# Contributor: Luke Shumaker <lukeshu@lukeshu.com>
pkgname=xml2rfc
pkgver=2.19.1
pkgdesc="A tool to convert an RFC from XML to text, HTML and other formats"
url="https://trac.tools.ietf.org/tools/xml2rfc/trac/"
license=('custom:bsd3')
depends=('python' 'python-lxml' 'python-setuptools')
source=("https://tools.ietf.org/tools/xml2rfc2/cli/xml2rfc-$pkgver.tar.gz")
sha256sums=('93a09a8cd555594fc6aa57f3a0c39d1f23ccecb15778b7dbef20015dab3528c1')
pkgrel=1
arch=('any')
replaces=('xml2rfc-python' 'xml2rfc-python2')
conflicts=('xml2rfc-python' 'xml2rfc-python2')
package() {
cd "$srcdir/xml2rfc-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|