docbook-dsssl: Enable aarch64 builds

This commit is contained in:
Hernan Martinez 2025-01-31 20:15:26 -07:00 committed by Biswapriyo Nath
parent 8de859232c
commit 13d1abb3d6
2 changed files with 27 additions and 1 deletions

View File

@ -9,7 +9,7 @@ pkgver=1.79
pkgrel=2
pkgdesc="DSSSL Stylesheets for DocBook (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://docbook.sourceforge.io/"
license=('custom')
depends=("${MINGW_PACKAGE_PREFIX}-sgml-common" "perl")

View File

@ -0,0 +1,26 @@
MINGW_INSTALL=clangarm64
post_install() {
/${MINGW_INSTALL}/bin/install-catalog --add \
/${MINGW_INSTALL}/etc/sgml/dsssl-docbook-stylesheets.cat \
/${MINGW_INSTALL}/share/sgml/docbook/dsssl-stylesheets-1.79/catalog
/${MINGW_INSTALL}/bin/install-catalog --add \
/${MINGW_INSTALL}/etc/sgml/sgml-docbook.cat \
/${MINGW_INSTALL}/etc/sgml/dsssl-docbook-stylesheets.cat
}
post_upgrade() {
post_install $1
}
post_remove() {
/${MINGW_INSTALL}/bin/install-catalog --remove \
/${MINGW_INSTALL}/etc/sgml/dsssl-docbook-stylesheets.cat \
/${MINGW_INSTALL}/share/sgml/docbook/dsssl-stylesheets-1.79/catalog
/${MINGW_INSTALL}/bin/install-catalog --remove \
/${MINGW_INSTALL}/etc/sgml/sgml-docbook.cat \
/${MINGW_INSTALL}/etc/sgml/dsssl-docbook-stylesheets.cat
}