aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-04-09 09:03:30 +0300
committerTimo Teräs <timo.teras@iki.fi>2015-04-09 09:03:55 +0300
commit68d89a07daed29121645de89d4bd80683399c834 (patch)
treecbd18908745b5da165f9c9e639a999351150aee2 /main
parent2917a804dc1053c78f84ac91441e4e0cf0853808 (diff)
downloadaports-68d89a07daed29121645de89d4bd80683399c834.tar.bz2
aports-68d89a07daed29121645de89d4bd80683399c834.tar.xz
main/xmlindent: moved from testing
Diffstat (limited to 'main')
-rw-r--r--main/xmlindent/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/xmlindent/APKBUILD b/main/xmlindent/APKBUILD
new file mode 100644
index 0000000000..1808ba85d0
--- /dev/null
+++ b/main/xmlindent/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=xmlindent
+pkgver=0.2.17
+pkgrel=0
+pkgdesc="An XML indenting utility"
+url="http://xmlindent.sourceforge.net/"
+arch="all"
+license="GPL"
+depends=""
+makedepends="flex-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://sourceforge.net/projects/xmlindent/files/xmlindent/$pkgver/xmlindent-$pkgver.tar.gz"
+
+_builddir="$srcdir"/xmlindent-$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 || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make PREFIX="$pkgdir"/usr install || return 1
+}
+
+md5sums="c08be3867ee906ca69b949d55a4f3780 xmlindent-0.2.17.tar.gz"
+sha256sums="3a0f6887b696087b8dad4901d3994954214dbbd78499eaf622b9a85060cf254c xmlindent-0.2.17.tar.gz"
+sha512sums="ab4b46dbd68f29e7adba6283485eb9d1c614ece640c18e1eabbe7f0e1e6f27f14d00d694e4e1981aaf66e0ddcf208c6cb2c80dda1cbeb0ceb1a40987a419f716 xmlindent-0.2.17.tar.gz"