Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=fc36846e23df892f7198d7b4333442bee61adcc0

commit fc36846e23df892f7198d7b4333442bee61adcc0
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Tue Mar 24 22:30:03 2009 +0100

docbook-xml-4.5-2-i686
*added catalog 4.1.2

diff --git a/source/apps/docbook-xml/FrugalBuild 
b/source/apps/docbook-xml/FrugalBuild
index 3d7ac2e..c22025f 100644
--- a/source/apps/docbook-xml/FrugalBuild
+++ b/source/apps/docbook-xml/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=docbook-xml
pkgver=4.5
-pkgrel=1
+pkgrel=2
pkgdesc="A widely used XML scheme for writing documentation and help"
url="http://www.oasis-open.org/docbook/xml/";
depends=('libxml2')
@@ -14,18 +14,25 @@ up2date="lynx -dump ${url}index.1.shtml|grep current|sed 
's/.*V\([0-9\.]\+\) .*/
source=(${url}$pkgver/$pkgname-$pkgver.zip \
${url}4.4/$pkgname-4.4.zip \
${url}4.3/$pkgname-4.3.zip \
-    ${url}4.2/$pkgname-4.2.zip)
+    ${url}4.2/$pkgname-4.2.zip \
+    ${url}4.1.2/docbkx412.zip)
sha1sums=('b9124233b50668fb508773aa2b3ebc631d7c1620' \
'7c4d91c82ad3747e1b5600c91782758e5d91c22b' \
'e79a59e9164c1013b8cc9f64f96f909a184ca016' \
-          '5e3a35663cd028c5c5fbb959c3858fec2d7f8b9e')
+          '5e3a35663cd028c5c5fbb959c3858fec2d7f8b9e' \
+          'b9ae7a41056bfaf885581812d60651b7b5531519')

build() {
-    subver=('4.2' '4.3' '4.4' '4.5')
+    subver=('412' '4.2' '4.3' '4.4' '4.5')
for version in "${subv...@]}"
do
-        Fextract $pkgname-$version.zip
-        Fmkdir /usr/share/sgml/docbook/dtd/xml-dtd-$version
+       if [ "$version" != "412" ]; then
+               Fextract $pkgname-$version.zip
+       else
+               Fextract docbkx412.zip
+               version=4.1.2
+       fi
+       Fmkdir /usr/share/sgml/docbook/dtd/xml-dtd-$version
Ffilerel *.cat /usr/share/sgml/docbook/dtd/xml-dtd-$version/
Ffilerel *.dtd /usr/share/sgml/docbook/dtd/xml-dtd-$version/
Ffilerel *.xml /usr/share/sgml/docbook/dtd/xml-dtd-$version/
diff --git a/source/apps/docbook-xml/docbook-xml.install 
b/source/apps/docbook-xml/docbook-xml.install
index 1421264..94aa923 100644
--- a/source/apps/docbook-xml/docbook-xml.install
+++ b/source/apps/docbook-xml/docbook-xml.install
@@ -1,4 +1,4 @@
-subver=('4.2' '4.3' '4.4' '4.5')
+subver=('4.1.2' '4.2' '4.3' '4.4' '4.5')
ROOTCATALOG=/etc/xml/catalog
CATALOG=/etc/xml/docbook
DOCBOOKDIR=/usr/share/sgml/docbook
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to