aboutsummaryrefslogtreecommitdiffstats
path: root/main/xmlindent/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xmlindent/APKBUILD')
-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"