aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-11-06 11:01:26 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2017-11-06 11:05:25 +0000
commitc12df2fb31013b017c91fd9a18b2b39182461b6b (patch)
tree0ff44adb4bc79410d88818b53d990b7882721a73 /community
parentcf4c4d0db18ab7cadf5626072d22b83a13791b01 (diff)
downloadaports-c12df2fb31013b017c91fd9a18b2b39182461b6b.tar.bz2
aports-c12df2fb31013b017c91fd9a18b2b39182461b6b.tar.xz
community/tidyhtml: upgrade to 5.4.0 and various changes
* turn on verbose build * build profile MinSizeRel (smaller size binaries) * disable localizations * build shared * include check
Diffstat (limited to 'community')
-rw-r--r--community/tidyhtml/APKBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/community/tidyhtml/APKBUILD b/community/tidyhtml/APKBUILD
index ddc7513e6b..779c3f4038 100644
--- a/community/tidyhtml/APKBUILD
+++ b/community/tidyhtml/APKBUILD
@@ -4,8 +4,8 @@
pkgname=tidyhtml
_pkgreal=tidy-html5
-pkgver=5.2.0
-pkgrel=1
+pkgver=5.4.0
+pkgrel=0
pkgdesc="Tool to tidy down your HTML code to a clean style"
arch=all
url="http://www.html-tidy.org"
@@ -19,15 +19,22 @@ builddir="$srcdir"/$_pkgreal-$pkgver
build(){
cd "$builddir"
- cmake CMakeLists.txt -DCMAKE_INSTALL_PREFIX=/usr || return 1
- make || return 1
+ cmake CMakeLists.txt \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=MinSizeRel \
+ -DSUPPORT_LOCALIZATIONS=OFF \
+ -DTIDY_CONSOLE_SHARED=ON
+ make
+}
+
+check() {
+ "$builddir"/tidy --help > /dev/null
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
-md5sums="ffbe6e8471eff90877b4d74bb714e22f tidyhtml-5.2.0.tar.gz"
-sha256sums="80533415acf11ac55f24b874ab39448e390ffec3c2b93df4b857d15602fc7c4d tidyhtml-5.2.0.tar.gz"
-sha512sums="9ab4c085235ff01988fa86c43fdcd5870eee077e4bcbaee5ca9b9679f363f476b39243b749ea66e5eb8a08c41d7a8346166b73e71f0b3239b955d20211f3b253 tidyhtml-5.2.0.tar.gz"
+sha512sums="d92c89f2ef371499f9c3de6f9389783d2449433b4da1f5a29e2eb81b7a7db8dd9f68e220cdde092d446e9bd779bcbc30f84bda79013526540f29d00f438cb402 tidyhtml-5.4.0.tar.gz"