updated on Sun Jan 22 12:09:12 UTC 2012
[aur-mirror.git] / html-docs / PKGBUILD
blob5f1c63399383f481a6cca74f56ef704e3d941638
1 # Contributor: Andrea Scarpino <bash.lnx@gmail.com>
3 pkgname=html-docs
4 pkgver=4.01
5 pkgrel=3
6 pkgdesc="SGML DTD and documentation for HTML 4.01."
7 arch=('i686' 'x86_64')
8 url="http://www.w3.org/TR/html401"
9 license=('GPL')
10 options=('docs')
11 source=(http://www.w3.org/TR/1999/REC-html401-19991224/html40.tgz profile.sh)
12 md5sums=('1ed76627ba80816079649f67023ec7ab' '254964bb5a508a3af0dc7d01b0e7d370')
14 build(){
15   cd "$srcdir"
16   rm html40.tgz || return 1
17   mkdir -p "$pkgdir/usr/share/doc/html"
18   cp -rf * "$pkgdir/usr/share/doc/html" || return 1
19   install -D -m 555 "$srcdir/profile.sh" "$pkgdir/etc/profile.d/html-dtd.sh"
20   echo >>"$pkgdir/usr/share/doc/html/HTML4.cat" 'DTDDECL "-//W3C//DTD HTML 4.01//EN" HTML4.decl'
21   echo >>"$pkgdir/usr/share/doc/html/HTML4.cat" 'DTDDECL "-//W3C//DTD HTML 4.01 Transitional//EN" HTML4.decl'
22   echo >>"$pkgdir/usr/share/doc/html/HTML4.cat" 'DTDDECL "-//W3C//DTD HTML 4.01 Frameset//EN" HTML4.decl'