diff options
author | ArthurBorsboom | 2016-01-16 23:01:52 +0100 |
---|---|---|
committer | ArthurBorsboom | 2016-01-16 23:01:52 +0100 |
commit | 6263dfecccd3f6b5420cb17d9bc98a0a1a88ac4f (patch) | |
tree | 33073afe41724726488877919707efe7a03eb021 | |
parent | 40c5932b57d649866768ecde9dc36462c15262f0 (diff) | |
download | aur-6263dfecccd3f6b5420cb17d9bc98a0a1a88ac4f.tar.gz |
By the instructions of user zman0900, I have added a dependency on libxml2 and a prepare statement for the xmlcatalog
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | xhtml-docs.install | 3 |
3 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = xhtml-docs pkgdesc = Set of HTML documentation for XHTML 1.0 & 1.1 pkgver = 1.1 - pkgrel = 4 + pkgrel = 5 url = http://www.w3.org/TR/xhtml11/ arch = any license = GPL @@ -6,13 +6,14 @@ pkgname=xhtml-docs pkgver=1.1 -pkgrel=4 +pkgrel=5 pkgdesc="Set of HTML documentation for XHTML 1.0 & 1.1" arch=('any') url="http://www.w3.org/" license=('GPL') makedepends=('rsync') +depends=('libxml2') options=('docs') @@ -21,13 +22,14 @@ source=('http://www.w3.org/TR/xhtml11/xhtml11.tgz' 'xhtml-docs.install') sha512sums=('8a38a61d44809459f1f8b02992a623836df1b4b7fb6b5e844ca039264d4c99e80170c84d8b90dede7142f5972e9668f4ff71c9e0ded82887e5b4116cf56a8506' '184758381c5e2d36b80fa1e4470e864777383ff7539b48291036f8a3f1dba0b354a32142bfcc9071147fb20bcd4c0d4d541e09e865047938ab4cf9ae5a806412' - 'dc2130bd15792b766bb5c3588ee999dcc3b90c78fbf5f4ec8e4eeebd6c5977ca787f44aa4fa32e6301df13be8ec1274d820fd9cd35e2b72cd51a94fea01b5996') + '2eef06bf5b3eee0ffbebc72fb96094a33226bca2850e90b128e3379122966b748252a5bb2bf748d4e941a60f49a304bc32df1808104e32d5f21480d474b124d6') install=('xhtml-docs.install') package(){ # no need to traverse into $pkgname, since we're actually just copying its contents... + install -dm755 ${pkgdir}/etc/xml install -d "${pkgdir}/usr/share/doc/xhtml" rsync -av xhtml1-20020801/ "${pkgdir}/usr/share/doc/xhtml/1.0" --exclude DTD rsync -av xhtml11-20101123/ "${pkgdir}/usr/share/doc/xhtml/1.1" --exclude DTD --exclude SCHEMA diff --git a/xhtml-docs.install b/xhtml-docs.install index 7f59848c6970..661b5ab38243 100644 --- a/xhtml-docs.install +++ b/xhtml-docs.install @@ -1,6 +1,9 @@ pkgname=xhtml-docs post_install() { + if [ ! -f etc/xml/catalog ]; then + xmlcatalog --noout --create etc/xml/catalog + fi xhtml1_dir="/usr/share/doc/xhtml/DTD" xmlcatalog --noout -add public '-//W3C//DTD XHTML 1.0 Strict//EN' "$xhtml1_dir/xhtml1-strict.dtd" /etc/xml/catalog xmlcatalog --noout -add public '-//W3C//DTD XHTML 1.0 Transitional//EN' "$xhtml1_dir/xhtml1-transitional.dtd" /etc/xml/catalog |