The `mingw-w64-libxml2` package brings its own `xmlcatalog.exe`. When
running e.g. `pacman -S docbook-xsl` while `MSYSTEM=MINGW64`, this
results in an `/etc/xml/catalog` that contains Windows-style paths.
Not what we want.
Let's make sure that we use the `xmlcatalog.exe` from the `libxml2`
package instead.
This is a companion to 2aefebb325 (docbook-{xml,xsl}: make sure to use
the _correct_ `xmlcatalog.exe`, 2019-11-08).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
21 lines
708 B
Bash
21 lines
708 B
Bash
# Maintainer: J. Peter <jpmugaas@suddenlink.net>
|
|
# shamelessly stolen from Archlinux
|
|
|
|
pkgname=docbook-mathml
|
|
pkgver=1.1CR1
|
|
pkgrel=2
|
|
pkgdesc="MathML XML scheme"
|
|
arch=('any')
|
|
url="https://www.oasis-open.org/docbook/"
|
|
license=('MIT')
|
|
depends=('libxml2')
|
|
install=docbook-mathml.install
|
|
source=("https://www.docbook.org/xml/mathml/${pkgver}/dbmathml.dtd" 'LICENSE')
|
|
sha256sums=('70da7140035621330f1b5ab6926197c3c3af467f2207d55a41f6396d9ad96abd'
|
|
'57645f7ba4189dfc34f16c08b6bbe041ff298b09cdf57c784bab577bf37ecb24')
|
|
|
|
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"
|
|
}
|