aboutsummaryrefslogtreecommitdiffstats
path: root/community/tidyhtml
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-27 15:51:55 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-27 16:03:21 +0000
commit8658427f6876de9d444f2865f8dfb9f93e4e12ea (patch)
treebe078dcd7dfc19cb75803af44b13108397b1718b /community/tidyhtml
parent5c794afac4304107a8a316638b7f8d7330dbebd0 (diff)
downloadaports-8658427f6876de9d444f2865f8dfb9f93e4e12ea.tar.bz2
aports-8658427f6876de9d444f2865f8dfb9f93e4e12ea.tar.xz
testing/tidyhtml: move to community
Diffstat (limited to 'community/tidyhtml')
-rw-r--r--community/tidyhtml/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/tidyhtml/APKBUILD b/community/tidyhtml/APKBUILD
new file mode 100644
index 0000000000..292d37af5b
--- /dev/null
+++ b/community/tidyhtml/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Valery Kartel <valery.kartel@gmail.com>
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
+
+pkgname=tidyhtml
+_pkgreal=tidy-html5
+pkgver=5.2.0
+pkgrel=0
+pkgdesc="Tool to tidy down your HTML code to a clean style"
+arch=all
+url="http://www.html-tidy.org"
+license="custom"
+depends=
+makedepends="cmake"
+subpackages="$pkgname-dev $pkgname-libs"
+source="$pkgname-$pkgver.tar.gz::https://github.com/htacg/tidy-html5/archive/$pkgver.tar.gz"
+
+builddir="$srcdir"/$_pkgreal-$pkgver
+
+build(){
+ cd "$builddir"
+ cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="ffbe6e8471eff90877b4d74bb714e22f tidyhtml-5.2.0.tar.gz"
+sha256sums="80533415acf11ac55f24b874ab39448e390ffec3c2b93df4b857d15602fc7c4d tidyhtml-5.2.0.tar.gz"
+sha512sums="9ab4c085235ff01988fa86c43fdcd5870eee077e4bcbaee5ca9b9679f363f476b39243b749ea66e5eb8a08c41d7a8346166b73e71f0b3239b955d20211f3b253 tidyhtml-5.2.0.tar.gz"