summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/xml2rfc-python/PKGBUILD19
-rw-r--r--pcr/xml2rfc/PKGBUILD23
2 files changed, 23 insertions, 19 deletions
diff --git a/pcr/xml2rfc-python/PKGBUILD b/pcr/xml2rfc-python/PKGBUILD
deleted file mode 100644
index 4d993b81f..000000000
--- a/pcr/xml2rfc-python/PKGBUILD
+++ /dev/null
@@ -1,19 +0,0 @@
-# Maintainer (Arch): milki <milki at rescomp dot berkeley dot edu>
-# Maintainer: André Silva <emulatorman@hyperbola.info>
-
-pkgname=xml2rfc-python
-pkgver=2.4.7
-pkgrel=2
-pkgdesc="A tool to convert an RFC from XML to text, HTML and other formats."
-arch=('any')
-url="http://xml2rfc.tools.ietf.org/"
-license=('custom')
-depends=('python>3.2' 'python-lxml>2.2.7' 'python-setuptools')
-conflicts=('xml2rfc-python2')
-source=("http://tools.ietf.org/tools/xml2rfc2/cli/xml2rfc-$pkgver.tar.gz")
-sha256sums=('f75ec480b1b11ac55e5d6e3d35df5f8fe2e66c7a447f229eee9f1e9a63b2bfd2')
-
-package() {
- cd $srcdir/xml2rfc-$pkgver
- python setup.py install --root="$pkgdir"
-}
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"
+}