1 # Contributor: Tilman Blumenbach <tilman (at) ax86 (dot) net>
6 pkgdesc='An excellent HTML reference which also covers other web topics (German version)'
8 url='http://de.selfhtml.org'
10 source=('http://ftp.uni-ulm.de/mirrors/selfhtml/selfhtml812.zip')
11 noextract=('selfhtml812.zip')
12 md5sums=('81806920c148ace4f24e8a8239f075ac')
17 _selfhtml_rootpath="/usr/share/doc/selfhtml/${_selfhtml_lang}"
18 _selfhtml_path="${pkgdir}${_selfhtml_rootpath}"
19 _selfhtml_licensepath="${pkgdir}/usr/share/licenses/selfhtml/${_selfhtml_lang}"
21 mkdir -p "$_selfhtml_path"
22 mkdir -p "$_selfhtml_licensepath"
25 unzip "${noextract[0]}" -d "$_selfhtml_path"
28 find "$_selfhtml_path" -type f '!' -perm 0644 -execdir chmod 0644 {} ';'
29 find "$_selfhtml_path" -type d '!' -perm 0755 -execdir chmod 0755 {} ';'
31 # Create symlink to copyright file:
32 ln -s "${_selfhtml_rootpath}/editorial/copyright.htm" "$_selfhtml_licensepath"