summaryrefslogtreecommitdiffstats
path: root/base/tidyhtml/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/tidyhtml/Pkgfile')
-rwxr-xr-xbase/tidyhtml/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/base/tidyhtml/Pkgfile b/base/tidyhtml/Pkgfile
new file mode 100755
index 000000000..b4f06dd49
--- /dev/null
+++ b/base/tidyhtml/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Outil de nettoyage de code HTML
+# URL: http://tidy.sourceforge.net
+# Maintainer: NutyX core team
+# Packager: lesibel at free dot fr
+
+name=tidyhtml
+version=1.46
+release=1
+
+source=(ftp://ftp.archlinux.org/other/$name/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version/tidy
+ source build/gnuauto/setup.sh
+
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+
+ install -Dm644 htmldoc/license.html \
+ $PKG/usr/share/licenses/$name/license.txt
+}