summaryrefslogtreecommitdiffstats
path: root/extra/tidyhtml/Pkgfile
blob: b4f06dd49cc16dc9c25bec77efa7b3e96285a859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}