aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tidyhtml
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2016-01-11 17:46:20 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-01-19 11:14:34 +0000
commit587eb4668327b07b90d33d04c7e7f8b37a80b3f1 (patch)
tree07bdc6f34deb9f4663cb6e42efd4efc7e6d48f62 /testing/tidyhtml
parentbdec50e9793a2e95c14be561f289e1d6b4271496 (diff)
downloadaports-587eb4668327b07b90d33d04c7e7f8b37a80b3f1.tar.gz
aports-587eb4668327b07b90d33d04c7e7f8b37a80b3f1.tar.bz2
aports-587eb4668327b07b90d33d04c7e7f8b37a80b3f1.tar.xz
testing/tidyhtml: upgrade to 5.1.25
Diffstat (limited to 'testing/tidyhtml')
-rw-r--r--testing/tidyhtml/APKBUILD36
1 files changed, 18 insertions, 18 deletions
diff --git a/testing/tidyhtml/APKBUILD b/testing/tidyhtml/APKBUILD
index bcec6a5442..4098166858 100644
--- a/testing/tidyhtml/APKBUILD
+++ b/testing/tidyhtml/APKBUILD
@@ -1,33 +1,33 @@
-# Maintainer:
+# Maintainer: Valery Kartel <valery.kartel@gmail.com>
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
pkgname=tidyhtml
-pkgver=1.46
+_pkgreal=tidy-html5
+pkgver=5.1.25
pkgrel=0
-pkgdesc='Tool to tidy down your HTML code to a clean style'
+pkgdesc="Tool to tidy down your HTML code to a clean style"
arch=all
-url='http://tidy.sourceforge.net/'
-license='custom'
+url="http://www.html-tidy.org"
+license="custom"
depends=
-makedepends='libtool autoconf automake'
-subpackages="$pkgname-dev"
-source="ftp://ftp.archlinux.org/other/$pkgname/${pkgname}-${pkgver}.tar.bz2"
+makedepends="cmake"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
+source="$_pkgreal-$pkgver.tar.gz::https://codeload.github.com/htacg/$_pkgreal/tar.gz/$pkgver"
+
+_builddir="$srcdir"/$_pkgreal-$pkgver
build(){
- cd "$srcdir"/$pkgname-$pkgver/tidy
- source build/gnuauto/setup.sh || return 1
- ./configure --prefix=/usr || return 1
+ cd "$_builddir"
+ cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/usr || return 1
make || return 1
}
package() {
- cd "$srcdir"/$pkgname-$pkgver/tidy
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
-
- install -Dm644 htmldoc/license.html \
- "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-md5sums="3d970d54be83c5ec985687e9976a2832 tidyhtml-1.46.tar.bz2"
-sha256sums="0555085b98238b7c36c5536a5c71b949fef3b58250b12cc51e5713a662aba7fe tidyhtml-1.46.tar.bz2"
-sha512sums="8d27180af680a1f7a63348b4fcd97fb9d3cf441a4ffb2e6eafc28abcc8e0cdb46f2b9bd234e47bce96a617eaac2227a33618f9e58be6e54badf1285cfda5e593 tidyhtml-1.46.tar.bz2"
+md5sums="5fd96deef635ab8cea3dc74079f54d95 tidy-html5-5.1.25.tar.gz"
+sha256sums="be81e967537984fbd207b4b19d02e7be73cbf201f07bf55aa5560c9b1d19b106 tidy-html5-5.1.25.tar.gz"
+sha512sums="d58757858cdc41b064e6002d30ff5a7059dca9c4a25f4f8a7cb8ffbfc175b1bddc92c0f7139660872a86024e9d96797637872bc44dda1652d13dec883be296f8 tidy-html5-5.1.25.tar.gz"