From 68d89a07daed29121645de89d4bd80683399c834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Thu, 9 Apr 2015 09:03:30 +0300 Subject: main/xmlindent: moved from testing --- main/xmlindent/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 main/xmlindent/APKBUILD (limited to 'main/xmlindent') 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 +# Maintainer: Timo Teräs +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" -- cgit v1.2.3