aboutsummaryrefslogtreecommitdiffstats
path: root/community/xmltoman
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 09:35:32 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 11:24:37 +0000
commit9aa7e226c0e2b67540fa9ad3be7030a69d7829c7 (patch)
treeedbeda409e66fc123fccadc8af14089e61e93d34 /community/xmltoman
parent31ff52ba2bcab3cb17a4dd3f1e0f1510759b4f00 (diff)
downloadaports-9aa7e226c0e2b67540fa9ad3be7030a69d7829c7.tar.bz2
aports-9aa7e226c0e2b67540fa9ad3be7030a69d7829c7.tar.xz
community/xmltoman: moved from testing
Diffstat (limited to 'community/xmltoman')
-rw-r--r--community/xmltoman/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/xmltoman/APKBUILD b/community/xmltoman/APKBUILD
new file mode 100644
index 000000000..95956a2e1
--- /dev/null
+++ b/community/xmltoman/APKBUILD
@@ -0,0 +1,40 @@
+# 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"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}.tar.gz/${pkgname}-${pkgver}.tar.gz"
+
+_builddir="${srcdir}"/${pkgname}-${pkgver}
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ make PREFIX=/usr
+}
+
+package() {
+ cd "$_builddir"
+ make install PREFIX=/usr DESTDIR="${pkgdir}"
+}
+
+md5sums="99be944b9fce40b3fe397049bf14a097 xmltoman-0.4.tar.gz"
+sha256sums="948794a316aaecd13add60e17e476beae86644d066cb60171fc6b779f2df14b0 xmltoman-0.4.tar.gz"
+sha512sums="347722731e2101ecd0619f88f4efdbca534810c96977a1281af685e8a61f4c1a826a71a9f0e3af43cc899936640787366a78077f36d23a9efcfeb789dbcfae22 xmltoman-0.4.tar.gz"