diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2019-02-23 02:59:02 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2019-02-23 02:59:02 -0500 |
commit | 3bfcea6ba5cc3ff444ef9beb14771e5893e27e4c (patch) | |
tree | 40a116ae342107487c38af38fb0f137ecb7ff5d1 /pcr/xml2rfc | |
parent | 7a3d81c62e487ca954f03b818e906ec3665d28cc (diff) | |
download | abslibre-3bfcea6ba5cc3ff444ef9beb14771e5893e27e4c.tar.gz abslibre-3bfcea6ba5cc3ff444ef9beb14771e5893e27e4c.tar.bz2 abslibre-3bfcea6ba5cc3ff444ef9beb14771e5893e27e4c.zip |
pcr/xml2rfc: Rename from xml2rfc-python, update 2.4.7 → 2.19.1
Diffstat (limited to 'pcr/xml2rfc')
-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" +} |