[arch-commits] Commit in docbook-mathml/repos (4 files)
Andreas Radke
andyrtr at archlinux.org
Fri Jan 25 06:42:59 UTC 2019
Date: Friday, January 25, 2019 @ 06:42:57
Author: andyrtr
Revision: 344697
archrelease: copy trunk to extra-x86_64
Added:
docbook-mathml/repos/extra-x86_64/
docbook-mathml/repos/extra-x86_64/LICENSE
(from rev 344696, docbook-mathml/trunk/LICENSE)
docbook-mathml/repos/extra-x86_64/PKGBUILD
(from rev 344696, docbook-mathml/trunk/PKGBUILD)
docbook-mathml/repos/extra-x86_64/docbook-mathml.install
(from rev 344696, docbook-mathml/trunk/docbook-mathml.install)
------------------------+
LICENSE | 20 ++++++++++++++++++++
PKGBUILD | 20 ++++++++++++++++++++
docbook-mathml.install | 19 +++++++++++++++++++
3 files changed, 59 insertions(+)
Copied: docbook-mathml/repos/extra-x86_64/LICENSE (from rev 344696, docbook-mathml/trunk/LICENSE)
===================================================================
--- extra-x86_64/LICENSE (rev 0)
+++ extra-x86_64/LICENSE 2019-01-25 06:42:57 UTC (rev 344697)
@@ -0,0 +1,20 @@
+ Copyright (C) 2000, 2001, 2002, 2003, 2004 Organization for the Advancement
+ of Structured Information Standards (OASIS).
+
+ $Id: dbmathml.dtd,v 1.7 2004/07/27 16:08:17 nwalsh Exp $
+
+ Permission to use, copy, modify and distribute the DocBook MathML
+ Module and its accompanying documentation for any purpose and
+ without fee is hereby granted in perpetuity, provided that the
+ above copyright notice and this paragraph appear in all copies.
+ The copyright holders make no representation about the
+ suitability of the DTD for any purpose. It is provided "as is"
+ without expressed or implied warranty.
+
+ If you modify the DocBook MathML Module in any way, label your DTD
+ as a variant of DocBook. See the maintenance documentation for
+ more information.
+
+ Please direct all questions, bug reports, or suggestions for
+ changes to the docbook at lists.oasis-open.org mailing list. For more
+ information, see http://www.oasis-open.org/docbook/.
Copied: docbook-mathml/repos/extra-x86_64/PKGBUILD (from rev 344696, docbook-mathml/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2019-01-25 06:42:57 UTC (rev 344697)
@@ -0,0 +1,20 @@
+# Maintainer:
+# Contributor: Sylvain HENRY <hsyl20 at gmail.com>
+
+pkgname=docbook-mathml
+pkgver=1.1CR1
+pkgrel=5
+pkgdesc="MathML XML scheme"
+arch=('any')
+url="https://www.oasis-open.org/docbook/"
+license=('MIT')
+depends=('libxml2')
+install=docbook-mathml.install
+source=("http://www.docbook.org/xml/mathml/${pkgver}/dbmathml.dtd" 'LICENSE')
+sha512sums=('031ad81e0fd873d2ed0fb78a074cc2de93ea7c937d85aac6cb2dc3023e3ba494a9a20f485b5355ce9060aea9adae192c9259b59139ac71273ca3fb858a240704'
+ 'a38812bb61aa48467f2125862ce21c7aa25ddc0a2ff2e643bdf778118b4bf6721673aa8a3924c864d04757e059542da691a736d82af51bb8e344504d9dc3c9ca')
+
+package() {
+ install -D -m644 dbmathml.dtd "${pkgdir}/usr/share/xml/docbook/mathml/${pkgver}/dbmathml.dtd"
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Copied: docbook-mathml/repos/extra-x86_64/docbook-mathml.install (from rev 344696, docbook-mathml/trunk/docbook-mathml.install)
===================================================================
--- extra-x86_64/docbook-mathml.install (rev 0)
+++ extra-x86_64/docbook-mathml.install 2019-01-25 06:42:57 UTC (rev 344697)
@@ -0,0 +1,19 @@
+post_install() {
+ if [ ! -e etc/xml/catalog ]; then
+ xmlcatalog --noout --create etc/xml/catalog
+ fi
+ xmlcatalog --noout --add "public" \
+ "-//OASIS//DTD DocBook MathML Module V1.1CR1//EN" \
+ "file:///usr/share/xml/docbook/mathml/1.1CR1/dbmathml.dtd" \
+ "etc/xml/catalog"
+
+ xmlcatalog --noout --add "system" \
+ "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd" \
+ "file:///usr/share/xml/docbook/mathml/1.1CR1/dbmathml.dtd" \
+ "etc/xml/catalog"
+}
+
+post_remove() {
+ xmlcatalog --noout --del "-//OASIS//DTD DocBook MathML Module V1.1CR1//EN" etc/xml/catalog
+ xmlcatalog --noout --del "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd" etc/xml/catalog
+ }
More information about the arch-commits
mailing list