summaryrefslogtreecommitdiff
path: root/system/xmlto/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-25 06:13:15 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-25 06:13:15 -0500
commitf319a79c3d9bf87a3c322428e27800c8fdad7b2c (patch)
tree2ade8ec7349c6a5960aea92df5c502e3ee98addd /system/xmlto/APKBUILD
parent48056f22819e2776f328ebfe7f21742abb53cc4e (diff)
downloadpackages-f319a79c3d9bf87a3c322428e27800c8fdad7b2c.tar.gz
packages-f319a79c3d9bf87a3c322428e27800c8fdad7b2c.tar.bz2
packages-f319a79c3d9bf87a3c322428e27800c8fdad7b2c.tar.xz
packages-f319a79c3d9bf87a3c322428e27800c8fdad7b2c.zip
system/xmlto: pull in for git
Diffstat (limited to 'system/xmlto/APKBUILD')
-rw-r--r--system/xmlto/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/system/xmlto/APKBUILD b/system/xmlto/APKBUILD
new file mode 100644
index 000000000..2ef0f1126
--- /dev/null
+++ b/system/xmlto/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xmlto
+pkgver=0.0.28
+pkgrel=2
+pkgdesc="Tool for converting XML files to various formats"
+url="https://pagure.io/xmlto/"
+arch="all"
+license="GPL-2.0+"
+depends="libxslt perl-yaml-syck perl-test-pod bash docbook-xsl"
+makedepends="bash"
+install=""
+subpackages="$pkgname-doc"
+source="https://releases.pagure.org/xmlto/xmlto-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ make -j1
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make -j1 DESTDIR="$pkgdir" install
+}
+
+sha512sums="6e0c4968d4f1b7a3b132904182aa72a73f6167553eabdeb65cfafa6295ef7b960541685769d04144207963cca77b0c44db4f9fbb2796348ffcb37b3b399f18f1 xmlto-0.0.28.tar.bz2"