aboutsummaryrefslogtreecommitdiffstats
path: root/community/xmltoman/APKBUILD
blob: 4b35b24f84fbdf32534af216098063a144863a3f (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=xmltoman
pkgver=0.4
pkgrel=0
pkgdesc="Convert xml to man pages in groff format or html"
url="http://xmltoman.sourceforge.net/"
arch="noarch"
license="GPL"
depends="perl-xml-parser"
source="https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make PREFIX=/usr
}

package() {
	cd "$builddir"
	make install PREFIX=/usr DESTDIR="$pkgdir"
}

sha512sums="347722731e2101ecd0619f88f4efdbca534810c96977a1281af685e8a61f4c1a826a71a9f0e3af43cc899936640787366a78077f36d23a9efcfeb789dbcfae22  xmltoman-0.4.tar.gz"