aboutsummaryrefslogtreecommitdiffstats
path: root/community/xmlstarlet/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-16 02:26:02 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-23 12:07:30 -0300
commit41ab224df12b8487004a1522b4f671680c082954 (patch)
tree9ebbc4ea5d1cfb82757ca1fd862b67e444a712a2 /community/xmlstarlet/APKBUILD
parent1f40937c55d742c7ae05db34c966c3dd2d6595e7 (diff)
downloadaports-41ab224df12b8487004a1522b4f671680c082954.tar.gz
aports-41ab224df12b8487004a1522b4f671680c082954.tar.bz2
aports-41ab224df12b8487004a1522b4f671680c082954.tar.xz
community/*: move lots of stuff from main and modernize
Diffstat (limited to 'community/xmlstarlet/APKBUILD')
-rw-r--r--community/xmlstarlet/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/xmlstarlet/APKBUILD b/community/xmlstarlet/APKBUILD
new file mode 100644
index 0000000000..e3fed88252
--- /dev/null
+++ b/community/xmlstarlet/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=xmlstarlet
+pkgver=1.6.1
+pkgrel=0
+pkgdesc="A set of tools to transform, query, validate, and edit XML documents"
+url="http://xmlstar.sourceforge.net"
+arch="all"
+license="MIT"
+makedepends="ghostscript libxml2-dev libxslt-dev"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://sourceforge.net/projects/xmlstar/files/xmlstarlet/$pkgver/xmlstarlet-$pkgver.tar.gz/download"
+
+build() {
+ LIBXSLT_PREFIX=/usr \
+ LIBXML_PREFIX=/usr \
+ ./configure \
+ --prefix=/usr \
+ --enable-build-docs
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ ln -s xml $pkgdir/usr/bin/xmlstarlet
+ install -Dm0644 Copyright $pkgdir/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="4228df812caec7059d7a76986c4d9a4262bd861cc53dca05f341ae6c062be05f1c39fc637918ab00f60f40587c6c556e3c9bfaf8a18b149e3c321a92214dbe8b xmlstarlet-1.6.1.tar.gz"