aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xml2rfc/APKBUILD
blob: ab753db12787d54094a4c99bef959fe98b037d22 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=xml2rfc
pkgver=2.8.2
pkgrel=0
pkgdesc="A tool for converting XML documents into internet drafts and RFCs"
url="http://tools.ietf.org/"
arch="noarch"
license="BSD"
depends="python2 py-lxml"
makedepends="py-setuptools"
source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"

builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="48e79d3d00b02670261c37b60e3dfe238407a49efdfc8146e57bd5bf350877680baa1024b7f81263f6a7312e189171e37f2d77c2f7ab1754a1b1590ae02dda29  xml2rfc-2.8.2.tar.gz"