wok rev 22651

updated docbook-xsl (1.79.1 -> 1.79.2)
author Hans-G?nter Theisgen
date Tue Jan 14 14:40:03 2020 +0100 (2020-01-14)
parents b99ac3d4def2
children e3178fd2753b
files docbook-xsl/receipt
line diff
     1.1 --- a/docbook-xsl/receipt	Tue Jan 14 13:47:35 2020 +0100
     1.2 +++ b/docbook-xsl/receipt	Tue Jan 14 14:40:03 2020 +0100
     1.3 @@ -1,14 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="docbook-xsl"
     1.7 -VERSION="1.79.1"
     1.8 +VERSION="1.79.2"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="DocBook XSL stylesheets."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="MIT"
    1.13 -WEB_SITE="http://docbook.sourceforge.net/"
    1.14 +WEB_SITE="https://github.com/docbook/wiki/wiki/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WGET_URL="$SF_MIRROR/docbook/$TARBALL"
    1.18 +WGET_URL="https://github.com/docbook/xslt10-stylesheets/releases/download/release/$VERSION/$TARBALL"
    1.19  
    1.20  DEPENDS="docbook-xml libxml2-tools libxslt"
    1.21  
    1.22 @@ -17,37 +18,45 @@
    1.23  {
    1.24  	cd $src # do not remove
    1.25  	pkgroot=$fs/usr/share/xml/docbook/stylesheet/$PACKAGE
    1.26 -	install -dm755 $pkgroot/common
    1.27 -	install -dm755 $pkgroot/params
    1.28 -	install  -m644 VERSION.xsl $pkgroot
    1.29 +	install -dm755			$pkgroot/common
    1.30 +	install -dm755			$pkgroot/params
    1.31 +	install -m644 VERSION.xsl	$pkgroot
    1.32  
    1.33 -	for fn in xml xsl dtd ent; do
    1.34 -		install -m644 common/*.${fn} $pkgroot/common/
    1.35 -	done
    1.36 +	for fn in xml xsl dtd ent
    1.37 +	  do
    1.38 +		install -m644 common/*.${fn}	$pkgroot/common/
    1.39 +	  done
    1.40  	
    1.41 -	for fn in fo highlighting html roundtrip; do
    1.42 -		install -dm755 ${pkgroot}/${fn}
    1.43 -		install -m644 ${fn}/*.xml ${pkgroot}/${fn}/
    1.44 -		install -m644 ${fn}/*.xsl ${pkgroot}/${fn}/
    1.45 -	done
    1.46 +	for fn in fo highlighting html roundtrip
    1.47 +	  do
    1.48 +		install -dm755			${pkgroot}/${fn}
    1.49 +		install -m644 ${fn}/*.xml	${pkgroot}/${fn}/
    1.50 +		install -m644 ${fn}/*.xsl	${pkgroot}/${fn}/
    1.51 +	  done
    1.52  
    1.53 -	for fn in eclipse htmlhelp javahelp lib manpages profiling template website xhtml xhtml-1_1; do
    1.54 -		install -dm755 ${pkgroot}/${fn}
    1.55 -		install -m644 ${fn}/*.xsl ${pkgroot}/${fn}/
    1.56 -	done
    1.57 +	for fn in eclipse htmlhelp javahelp lib manpages profiling template website xhtml xhtml-1_1
    1.58 +	  do
    1.59 +		install -dm755			${pkgroot}/${fn}
    1.60 +		install -m644 ${fn}/*.xsl	${pkgroot}/${fn}/
    1.61 +	  done
    1.62  }
    1.63  
    1.64  # Pre and post install commands for Tazpkg.
    1.65  post_install()
    1.66  {
    1.67 -	if [ -n "$1" ]; then
    1.68 -		mv -f "$1/etc/resolv.conf" "$1/etc/recolv.conf.$$" 2>/dev/null
    1.69 -		cp /etc/resolv.conf "$1/etc/resolv.conf"
    1.70 +	if [ -n "$1" ]
    1.71 +	  then
    1.72 +		mv -f "$1/etc/resolv.conf"	"$1/etc/recolv.conf.$$" 2>/dev/null
    1.73 +		cp /etc/resolv.conf		"$1/etc/resolv.conf"
    1.74  	fi
    1.75  
    1.76  	# Create a /etc/xml/catalog file
    1.77 -	if [ ! -d "$1/etc/xml" ]; then install -v -m755 -d "$1/etc/xml"; fi &&
    1.78 -	if [ ! -f "$1/etc/xml/catalog" ]; then
    1.79 +	if [ ! -d "$1/etc/xml" ]
    1.80 +	  then
    1.81 +		install -v -m755 -d "$1/etc/xml"
    1.82 +	fi &&
    1.83 +	if [ ! -f "$1/etc/xml/catalog" ]
    1.84 +	  then
    1.85  		chroot "$1/" xmlcatalog --noout --create /etc/xml/catalog
    1.86  	fi &&
    1.87  
    1.88 @@ -75,7 +84,8 @@
    1.89  	cd "$1/usr/share/xml/docbook/stylesheet"
    1.90  	ln -s $PACKAGE nwalsh
    1.91  
    1.92 -	if [ -n "$1" ]; then
    1.93 +	if [ -n "$1" ]
    1.94 +	  then
    1.95  		mv -f "$1/etc/resolv.conf.$$" "$1/etc/recolv.conf" 2> /dev/null
    1.96  	fi
    1.97