[arch-commits] Commit in (tidy tidy/trunk tidy/trunk/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Jan 19 07:34:45 UTC 2016
Date: Tuesday, January 19, 2016 @ 08:34:44
Author: arojas
Revision: 258394
New tidy-html version
Added:
tidy/
tidy/trunk/
tidy/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Added: tidy/trunk/PKGBUILD
===================================================================
--- tidy/trunk/PKGBUILD (rev 0)
+++ tidy/trunk/PKGBUILD 2016-01-19 07:34:44 UTC (rev 258394)
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 230776 2015-02-04 23:00:34Z bluewind $
+# Maintainer:
+# Contributor: eric <eric at archlinux.org>
+# Contributor: Markus Meissner <markus at meissna.de>
+
+pkgname=tidy
+pkgver=5.0.0
+pkgrel=1
+pkgdesc="A tool to tidy down your HTML code to a clean style"
+arch=(i686 x86_64)
+url="http://www.html-tidy.org/"
+license=(custom)
+depends=(glibc)
+makedepends=(cmake libxslt)
+conflicts=(tidyhtml)
+provides=(tidyhtml)
+replaces=(tidyhtml)
+source=("https://github.com/htacg/tidy-html5/archive/$pkgver.tar.gz")
+md5sums=('b0e95bda662a06e7652c8475cf8e9b1a')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../tidy-html5-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir"/$pkgname-html5-$pkgver/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list