aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xml2rfc/APKBUILD
blob: 08302529287dd3fe4fcda77ec41d79dd2ca710b6 (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: 
# Maintainer: 
pkgname=xml2rfc
pkgver=2.8.2
pkgrel=1
pkgdesc="A tool for converting XML documents into internet drafts and RFCs"
url="https://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"