wok-next diff docbook-xml/receipt @ rev 20663
Fix web site for the Shimmer Project themes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 22:58:32 2018 +0300 (2018-05-10) |
parents | 35a20e111081 |
children | a20a093a9790 |
line diff
1.1 --- a/docbook-xml/receipt Fri Feb 03 12:13:00 2017 +0200 1.2 +++ b/docbook-xml/receipt Thu May 10 22:58:32 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="docbook-xml" 1.8 VERSION="4.5" 1.9 @@ -14,17 +14,13 @@ 1.10 DEPENDS="libxml2-tools libxml2 docbook-xml-412 docbook-xml-42 docbook-xml-43 \ 1.11 docbook-xml-44" 1.12 1.13 -# Rules to configure and make the package. 1.14 -compile_rules() 1.15 -{ 1.16 +compile_rules() { 1.17 mkdir -p $DESTDIR/usr/share/xml/docbook/xml-dtd-$VERSION 1.18 cp -dRf docbook.cat *.dtd ent/ *.mod \ 1.19 $DESTDIR/usr/share/xml/docbook/xml-dtd-$VERSION 1.20 } 1.21 1.22 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.23 -genpkg_rules() 1.24 -{ 1.25 +genpkg_rules() { 1.26 mkdir -p $fs 1.27 cp -a $install/usr $fs 1.28 } 1.29 @@ -39,7 +35,7 @@ 1.30 fi 1.31 1.32 if [ "$1" ]; then 1.33 - mv -f "$1/etc/resolv.conf" "$1/etc/recolv.conf.$$" 2> /dev/null 1.34 + mv -f "$1/etc/resolv.conf" "$1/etc/recolv.conf.$$" 2>/dev/null 1.35 cp /etc/resolv.conf "$1/etc/resolv.conf" 1.36 fi 1.37 1.38 @@ -288,11 +284,10 @@ 1.39 "file:///etc/xml/docbook-xml" \ 1.40 "/etc/xml/catalog" 1.41 if [ -n "$1" ]; then 1.42 - mv -f "$1/etc/resolv.conf.$$" "$1/etc/recolv.conf" 2> /dev/null 1.43 + mv -f "$1/etc/resolv.conf.$$" "$1/etc/recolv.conf" 2>/dev/null 1.44 fi 1.45 } 1.46 1.47 -post_remove() 1.48 -{ 1.49 +post_remove() { 1.50 xmlcatalog --noout --del file:///etc/xml/docbook-xml "$1/etc/xml/catalog" 1.51 }