diff options
Diffstat (limited to 'pcr/xml2rfc/PKGBUILD')
-rw-r--r-- | pcr/xml2rfc/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr/xml2rfc/PKGBUILD b/pcr/xml2rfc/PKGBUILD new file mode 100644 index 000000000..7579e4f57 --- /dev/null +++ b/pcr/xml2rfc/PKGBUILD @@ -0,0 +1,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" +} |