Remove more clang32 packages.

This commit is contained in:
مهدي شينون (Mehdi Chinoune) 2024-11-23 12:52:29 +01:00
parent 1b44dadc4f
commit a71f340f03
49 changed files with 32 additions and 460 deletions

View File

@ -1,11 +0,0 @@
post_install() {
local _prefix="/clang32"
local _prefix_win="$(cygpath -m "${_prefix}")"
sed -s "s|${_prefix}|${_prefix_win}|g" -i "${_prefix}/share/Armadillo/CMake/"*.cmake
# Add installers local installation path
sed -s "s|${_prefix}|${_prefix_win}|g" -i "${_prefix}/include/armadillo_bits/config.hpp"
}
post_upgrade() {
post_install
}

View File

@ -1,26 +0,0 @@
MINGW_INSTALL=clang32
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
}

View File

@ -1,34 +0,0 @@
MINGW_INSTALL=clang32
MINGW_XML_CATALOG=${MINGW_INSTALL}/etc/xml
post_install() {
if [ ! -e ${MINGW_XML_CATALOG}/catalog ]; then
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --create ${MINGW_XML_CATALOG}/catalog
fi
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --add "delegatePublic" \
"-//OASIS//DTD DocBook MathML Module" \
"./docbook-mathml" \
${MINGW_XML_CATALOG}/catalog
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --add "delegateSystem" \
"http://www.oasis-open.org/docbook/xml/mathml/" \
"./docbook-mathml" \
${MINGW_XML_CATALOG}/catalog
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --add "delegateURI" \
"http://www.oasis-open.org/docbook/xml/mathml/" \
"./docbook-mathml" \
${MINGW_XML_CATALOG}/catalog
}
post_upgrade() {
post_remove $2
post_install $1
}
post_remove() {
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --del ./docbook-mathml ${MINGW_XML_CATALOG}/catalog
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --del "-//OASIS//DTD DocBook MathML Module V1.1CR1//EN" ${MINGW_XML_CATALOG}/catalog
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --del "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd" ${MINGW_XML_CATALOG}/catalog
}

View File

@ -1,57 +0,0 @@
MINGW_INSTALL=clang32
# arg 1: the new package version
pre_install() {
/bin/true
}
# arg 1: the new package version
post_install() {
add_catalog "${1%-*}"
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
remove_catalog "${2%-*}"
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
add_catalog "${1%-*}"
}
# arg 1: the old package version
pre_remove() {
remove_catalog "${1%-*}"
}
# arg 1: the old package version
post_remove() {
/bin/true
}
add_catalog() {
/${MINGW_INSTALL}/bin/install-catalog --add /${MINGW_INSTALL}/etc/sgml/sgml-docbook-dtd-$1.cat \
/${MINGW_INSTALL}/share/sgml/docbook-sgml-$1/catalog > /dev/null 2>&1
/${MINGW_INSTALL}/bin/install-catalog --add /${MINGW_INSTALL}//etc/sgml/sgml-docbook-dtd-$1.cat \
/${MINGW_INSTALL}/etc/sgml/sgml-docbook.cat > /dev/null 2>&1
}
remove_catalog() {
/${MINGW_INSTALL}/bin/install-catalog --remove /${MINGW_INSTALL}//etc/sgml/sgml-docbook-dtd-$1.cat \
/${MINGW_INSTALL}/share/sgml/docbook-sgml-$1/catalog > /dev/null 2>&1
/${MINGW_INSTALL}/bin/install-catalog --remove /${MINGW_INSTALL}//etc/sgml/sgml-docbook-dtd-$1.cat \
/${MINGW_INSTALL}/etc/sgml/sgml-docbook.cat > /dev/null 2>&1
}
op=$1
shift
$op "$@"
# vim:set syntax=sh ts=4 sw=4 noet:

View File

@ -1,44 +0,0 @@
MINGW_INSTALL=clang32
# arg 1: the new package version
post_install() {
add_catalog "${1%-*}"
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
remove_catalog "${2%-*}"
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
add_catalog "${1%-*}"
}
# arg 1: the old package version
pre_remove() {
remove_catalog "${1%-*}"
}
add_catalog() {
/${MINGW_INSTALL}/bin/install-catalog --add /${MINGW_INSTALL}/etc/sgml/sgml-docbook-dtd-$1.cat \
/${MINGW_INSTALL}/share/sgml/docbook-sgml-$1/catalog > /dev/null 2>&1
/${MINGW_INSTALL}/bin/install-catalog --add /${MINGW_INSTALL}/etc/sgml/sgml-docbook-dtd-$1.cat \
/${MINGW_INSTALL}/etc/sgml/sgml-docbook.cat > /dev/null 2>&1
}
remove_catalog() {
/${MINGW_INSTALL}/bin/install-catalog --remove /${MINGW_INSTALL}/etc/sgml/sgml-docbook-dtd-$1.cat \
/${MINGW_INSTALL}/share/sgml/docbook-sgml-$1/catalog > /dev/null 2>&1
/${MINGW_INSTALL}/bin/install-catalog --remove /${MINGW_INSTALL}/etc/sgml/sgml-docbook-dtd-$1.cat \
/${MINGW_INSTALL}/etc/sgml/sgml-docbook.cat > /dev/null 2>&1
}
op=$1
shift
$op "$@"
# vim:set syntax=sh ts=4 sw=4 noet:

View File

@ -1,42 +0,0 @@
MINGW_INSTALL=/clang32
_rootcatalog=$(cygpath -m ${MINGW_INSTALL}/etc/xml/catalog)
# export MSYS2_ARG_CONV_EXCL="-//OASIS"
post_install() {
if [ -e ${MINGW_XML_CATALOG}/catalog.preserve ]; then
mv ${MINGW_XML_CATALOG}/catalog.preserve ${MINGW_XML_CATALOG}/catalog
elif [ ! -e ${MINGW_INSTALL}/etc/xml/catalog ]; then
${MINGW_PREFIX}/bin/xmlcatalog --noout --create ${MINGW_XML_CATALOG}/catalog
fi
for v in 5.{0,0.1,1}; do
${MINGW_PREFIX}/bin/xmlcatalog --noout --add "delegatePublic" \
"-//OASIS//DTD DocBook XML ${v}//EN" \
"./docbook-${v}.xml" \
${_rootcatalog}
done
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
if [ $(vercmp $2 4.5) -lt 0 ]; then
${MINGW_PREFIX}/bin/xmlcatalog --del "${MINGW_XML_CATALOG}/docbook-5.0.xml" \
${MINGW_XML_CATALOG}/catalog > ${MINGW_XML_CATALOG}/catalog.preserve
fi
}
post_upgrade() {
if [ $(vercmp $2 4.5) -ge 0 ]; then
post_remove
fi
post_install
}
post_remove() {
for v in 5.{0,0.1,1}; do
${MINGW_PREFIX}/bin/xmlcatalog --noout --del \
"./docbook-${v}.xml" \
${_rootcatalog}
done
}

View File

@ -8,7 +8,7 @@ pkgver=1.23.2
pkgrel=1
pkgdesc="Go Lang (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
msys2_references=(
'archlinux: go'
"cpe: cpe:/a:golang:go"

View File

@ -8,7 +8,7 @@ pkgver=12.2.0
pkgrel=1
pkgdesc="Graph Visualization Software (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://www.graphviz.org/'
msys2_repository_url="https://gitlab.com/graphviz/graphviz"
msys2_references=(

View File

@ -1,9 +0,0 @@
MINGW_INSTALL=clang32
post_install() {
${MINGW_INSTALL}/bin/dot -c
}
post_upgrade() {
post_install
}

View File

@ -1,13 +0,0 @@
MINGW_INSTALL=clang32
post_install() {
${MINGW_INSTALL}/bin/gtk-query-immodules-2.0 --update-cache
}
post_upgrade() {
post_install
}
pre_remove() {
rm -f ${MINGW_INSTALL}/lib/gtk-2.0/2.10.0/immodules.cache
}

View File

@ -8,7 +8,7 @@ pkgver=2.8.8
pkgrel=2
pkgdesc="A text hyphenation library (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://hunspell.sourceforge.io/'
license=(GPL-2.0+ or LGPL-2.0+ or MPL-1.1+)
makedepends=('perl' "${MINGW_PACKAGE_PREFIX}-autotools" "${MINGW_PACKAGE_PREFIX}-cc")

View File

@ -8,7 +8,7 @@ pkgver=2.1
pkgrel=5
pkgdesc="Data compression library/utilities for bi-level high-resolution images (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://www.cl.cam.ac.uk/~mgk25/jbigkit/"
license=('spdx:GPL-2.0')
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs")

View File

@ -1,18 +0,0 @@
post_install() {
local _prefix="/clang32"
local _prefix_win="$(cygpath -m "${_prefix}")"
sed -s "s|${_prefix}|${_prefix_win}|g" -i "${_prefix}"/share/kf5/kdoctools/customization/dtd/kdedbx45.dtd
for file in "${_prefix}"/share/kf5/kdoctools/customization/xsl/*.xml; do
sed -s "s|${_prefix}|${_prefix_win}|g" -i "${file}"
done
for file in "${_prefix}"/share/kf5/kdoctools/customization/*.xsl; do
sed -s "s|${_prefix}|${_prefix_win}|g" -i "${file}"
done
}
post_upgrade() {
post_install
}

View File

@ -8,7 +8,7 @@ pkgver=0.9.2
pkgrel=5
pkgdesc="Lightweight multi-platform, multi-architecture assembler framework (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-ninja"
"${MINGW_PACKAGE_PREFIX}-cc"

View File

@ -7,7 +7,7 @@ pkgver=4.0.0
pkgrel=1
pkgdesc="Limited Error Raster Compression library (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://github.com/Esri/lerc"
license=('spdx:Apache-2.0')
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs")

View File

@ -8,7 +8,7 @@ pkgver=0.2.13
pkgrel=3
pkgdesc="Implementation of double-array structure for representing trie, as proposed by Junichi Aoe. (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://linux.thai.net/projects/datrie'
license=('LGPL')
depends=("${MINGW_PACKAGE_PREFIX}-libiconv")

View File

@ -7,7 +7,7 @@ pkgver=1.22
pkgrel=1
pkgdesc="Heavily optimized library for DEFLATE/zlib/gzip compression and decompression (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://github.com/ebiggers/libdeflate'
license=('spdx:MIT')
makedepends=(

View File

@ -8,7 +8,7 @@ pkgver=3.0.4
pkgrel=2
pkgdesc="JPEG image codec with accelerated baseline compression and decompression (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://libjpeg-turbo.virtualgl.org/"
msys2_repository_url="https://github.com/libjpeg-turbo/libjpeg-turbo"
msys2_pgp_keys_url="https://libjpeg-turbo.org/Downloads/DigitalSignatures"

View File

@ -8,7 +8,7 @@ pkgver=0.1.29
pkgrel=3
pkgdesc="Thai language support routines (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://linux.thai.net/projects/libthai"
msys2_references=(
"cpe: cpe:/a:linux.thai:libthai"

View File

@ -9,7 +9,7 @@ pkgver=4.7.0
pkgrel=1
pkgdesc="Library for manipulation of TIFF images (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://libtiff.gitlab.io/libtiff/"
msys2_references=(
"cpe: cpe:/a:libtiff:libtiff"

View File

@ -8,7 +8,7 @@ pkgver=1.4.0
pkgrel=1
pkgdesc="A library to encode and decode images in WebP format (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://developers.google.com/speed/webp/'
msys2_references=(
"cpe: cpe:/a:webmproject:libwebp"

View File

@ -1,21 +0,0 @@
MINGW_PREFIX=/clang32
post_install() {
PREFIX_WIN=$(cygpath -m ${MINGW_PREFIX})
sed -s "s|${MINGW_PREFIX}|${PREFIX_WIN}|g" \
-i ${MINGW_PREFIX}/etc/luarocks/config-5.1.lua
sed -s "s|${MINGW_PREFIX}|${PREFIX_WIN}|g" \
-i ${MINGW_PREFIX}/etc/luarocks/config-5.4.lua
sed -s "s|${MINGW_PREFIX}|${PREFIX_WIN}|g" \
-i ${MINGW_PREFIX}/bin/luarocks
sed -s "s|${MINGW_PREFIX}|${PREFIX_WIN}|g" \
-i ${MINGW_PREFIX}/bin/luarocks-admin
}
post_upgrade() {
post_install
}

View File

@ -7,7 +7,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.18.10
pkgrel=1
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
pkgdesc='LV2 audio plugin specification (mingw-w64)'
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-doxygen"

View File

@ -7,7 +7,7 @@ pkgver=2.16.03
pkgrel=1
pkgdesc="An 80x86 assembler designed for portability and modularity (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
license=('BSD')
url="https://www.nasm.us"
msys2_references=(

View File

@ -14,7 +14,7 @@ pkgdesc="Curses library on the Win32 API (mingw-w64)"
# ports that are available with this package
_pdcports="wincon wingui vt"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://www.projectpluto.com/win32a.htm"
msys2_repository_url="https://github.com/Bill-Gray/PDCursesMod"
license=('Public Domain')

View File

@ -7,7 +7,7 @@ pkgver=0.29.2
pkgrel=6
pkgdesc="A system for managing library compile/link flags (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64')
msys2_references=(
'archlinux'
'aur'

View File

@ -9,7 +9,7 @@ pkgver=0.0
pkgrel=4
pkgdesc="A wrapper around plink with some nice features (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="http://www.wischik.com/lu/programmer/unison-ssh.html"
license=('unknown')
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"

View File

@ -10,7 +10,7 @@ pkgver=0.81
pkgrel=1
pkgdesc="A free telnet/SSH client (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://www.chiark.greenend.org.uk/~sgtatham/putty/"
msys2_references=(
"cpe: cpe:/a:putty:putty"

View File

@ -7,7 +7,7 @@ pkgrel=4
pkgdesc="An ISO 8601 date/time/duration parser and formatter"
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
msys2_references=(
'pypi: isodate'
)

View File

@ -10,7 +10,7 @@ pkgver=3.1.2
pkgrel=2
pkgdesc='General parsing module for Python (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://pyparsing.wikispaces.com/'
msys2_references=(
'pypi: pyparsing'

View File

@ -7,7 +7,7 @@ pkgver=7.0.0
pkgrel=3
pkgdesc='A Python library for working with RDF, a simple yet powerful language for representing information (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
msys2_references=(
'pypi: rdflib'
"cpe: cpe:/a:rdflib_project:rdflib"

View File

@ -1,11 +0,0 @@
post_install() {
local _real_prefix=/clang32
local _prefix=$(cygpath -wm ${_real_prefix})
for f in ${_real_prefix}/lib/cmake/Qca-qt5/*.cmake; do
sed -s "s|${_real_prefix}|${_prefix}|g" -i ${f}
done
}
post_upgrade() {
post_install
}

View File

@ -1,11 +0,0 @@
post_install() {
local _real_prefix=/clang32
local _prefix=$(cygpath -wm ${_real_prefix})
for f in ${_real_prefix}/lib/cmake/Qca-qt6/*.cmake; do
sed -s "s|${_real_prefix}|${_prefix}|g" -i ${f}
done
}
post_upgrade() {
post_install
}

View File

@ -8,7 +8,7 @@ _commit=c7618f4f5728e1634417e9d02ea50d82b71956ab
pkgrel=1
pkgdesc="Bopomofo input for rime (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://github.com/rime/rime-bopomofo"
license=('LGPL')
# Rime will regenerate yaml&prism bin, which makes terra-pinyin required on runtime (for translator)

View File

@ -8,7 +8,7 @@ _commit=8dfad9e537f18821b71ba28773315d9c670ae245
pkgrel=1
pkgdesc="Cangjie input for rime"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://github.com/rime/rime-cangjie"
license=('LGPL')
# dependency for reverse lookup

View File

@ -8,7 +8,7 @@ _commit=8882482d07f38b5713ea3f49cb593eed94e671dd
pkgrel=1
pkgdesc="Essential files for building up your Rime configuration (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://github.com/rime/rime-essay"
license=('LGPL')
source=("https://github.com/rime/rime-essay/archive/${_commit}/rime-essay-${_commit}.tar.gz")

View File

@ -8,7 +8,7 @@ _commit=6e677427764b542313858eaed22c2951d8ec22fe
pkgrel=1
pkgdesc='Luna pinyin for rime (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
license=('LGPL')
url="https://github.com/rime/rime-luna-pinyin"
source=("https://github.com/rime/rime-luna-pinyin/archive/${_commit}/rime-luna-pinyin-${_commit}.tar.gz")

View File

@ -9,7 +9,7 @@ _commit=3de303ffaa731dba07b0462ce59f4767e1219ad2
pkgrel=1
pkgdesc="Essential files for building up your Rime configuration (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://github.com/rime/rime-prelude"
license=('LGPL')
source=("https://github.com/rime/rime-prelude/archive/${_commit}/rime-prelude-${_commit}.tar.gz")

View File

@ -8,7 +8,7 @@ _commit=ea8576d1accd6fda339e96b415caadb56e2a07d1
pkgrel=2
pkgdesc="Stroke input for rime"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://github.com/rime/rime-stroke"
license=('LGPL')
# dependency for reverse lookup

View File

@ -8,7 +8,7 @@ _commit=aefaf372b25febbf4d5f9443bd284d3dd6876085
pkgrel=1
pkgdesc="Terra pinyin for rime"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://github.com/rime/rime-terra-pinyin"
license=('LGPL')
# dependency for reverse lookup

View File

@ -7,7 +7,7 @@ pkgver=0.32.2
pkgrel=1
pkgdesc='C library for RDF syntax supporting reading/ writing Turtle and NTriples (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
msys2_references=(
'archlinux: serd'
)

View File

@ -1,57 +0,0 @@
MINGW_INSTALL=clang32
# arg 1: the new package version
pre_install() {
/bin/true
}
# arg 1: the new package version
post_install() {
add_catalog "${1%-*}"
}
# arg 1: the new package version
# arg 2: the old package version
pre_upgrade() {
remove_catalog "${2%-*}"
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
add_catalog "${1%-*}"
}
# arg 1: the old package version
pre_remove() {
remove_catalog "${1%-*}"
}
# arg 1: the old package version
post_remove() {
/bin/true
}
add_catalog() {
/${MINGW_INSTALL}/bin/install-catalog --add /${MINGW_INSTALL}/etc/sgml/sgml-ent.cat \
/${MINGW_INSTALL}/share/sgml/sgml-iso-entities-8879.1986/catalog > /dev/null 2>&1
/${MINGW_INSTALL}/bin/install-catalog --add /${MINGW_INSTALL}/etc/sgml/sgml-docbook.cat \
/${MINGW_INSTALL}/etc/sgml/sgml-ent.cat > /dev/null 2>&1
}
remove_catalog() {
/${MINGW_INSTALL}/bin/install-catalog --remove /${MINGW_INSTALL}/etc/sgml/sgml-ent.cat \
/${MINGW_INSTALL}/share/sgml/sgml-iso-entities-8879.1986/catalog > /dev/null 2>&1
/${MINGW_INSTALL}/bin/install-catalog --remove /${MINGW_INSTALL}/etc/sgml/sgml-docbook.cat \
/${MINGW_INSTALL}/etc/sgml/sgml-ent.cat > /dev/null 2>&1
}
op=$1
shift
$op "$@"
# vim:set syntax=sh ts=4 sw=4 noet:

View File

@ -1,9 +0,0 @@
MINGW_INSTALL=clang32
post_remove() {
if [ -d ${MINGW_INSTALL}/share/mime ]; then
rm -f ${MINGW_INSTALL}/share/mime/{globs,globs2,icons,treemagic,generic-icons,types,magic,XMLnamespaces,subclasses,aliases,mime.cache}
rm -rf ${MINGW_INSTALL}/share/mime/{application,audio,image,inode,message,model,multipart,text,video,x-content,x-epoc}
rmdir --ignore-fail-on-non-empty ${MINGW_INSTALL}/share/mime
fi
}

View File

@ -7,7 +7,7 @@ pkgver=0.16.16
pkgrel=1
pkgdesc='A lightweight C library for storing RDF data in memory (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
msys2_references=(
'archlinux: sord'
)

View File

@ -1,29 +0,0 @@
MINGW_INSTALL=clang32
post_install() {
cd ${MINGW_INSTALL}
local _prefix=$(cygpath -m "$(pwd)")
cd -
#fix 'texmf.cnf'
sed -e "s|/${MINGW_INSTALL}|${_prefix}|g" \
-i ${_prefix}/etc/texmf/web2c/texmf.cnf
sed -e "s|/${MINGW_INSTALL}|${_prefix}|g" \
-i ${_prefix}/share/texmf-dist/web2c/texmf.cnf
# fix'texmfcnf.lua'
sed -e "s|/${MINGW_INSTALL}|${_prefix}|g" \
-i ${_prefix}/share/texmf-dist/web2c/texmfcnf.lua
# fix 09-texlive-fonts.conf
sed -e "s|/${MINGW_INSTALL}|${_prefix}|g" \
-i ${_prefix}/share/fontconfig/conf.avail/09-texlive-fonts.conf
echo ">>> updmap custom entries should go into /$_prefix/etc/texmf/web2c/updmap-local.cfg"
echo ">>> fmtutil custom entries should go into /$_prefix/etc/texmf/web2c/fmtutil-local.cnf"
#echo "NB: To setup ConTeXt and the lua(la)tex font db,"
#echo " see http://wiki.archlinux.org/index.php/TeX_Live"
}
post_upgrade() {
post_install
}

View File

@ -7,7 +7,7 @@ pkgver=0.56.17
pkgrel=1
pkgdesc="Compiler for the GObject type system (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url="https://wiki.gnome.org/Projects/Vala"
msys2_references=(
"cpe: cpe:/a:gnome:vala"

View File

@ -1,11 +0,0 @@
MINGW_INSTALL=clang32
post_install() {
if [ -f "${MINGW_INSTALL}/lib/vlc/vlc-cache-gen.exe" ]; then
PATH="./${MINGW_INSTALL}/bin:$PATH" ./${MINGW_INSTALL}/lib/vlc/vlc-cache-gen.exe ./${MINGW_INSTALL}/lib/vlc/plugins
fi
}
post_upgrade() {
post_install
}

View File

@ -1,25 +0,0 @@
MINGW_INSTALL=/clang32
post_install() {
if [ ! -e etc/xml/catalog ]; then
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --create ${MINGW_INSTALL}/etc/xml/catalog
fi
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --add public "-//W3C//DTD MathML 2.0//EN" "../../share/xml/w3c/mathml2/mathml2.dtd" ${MINGW_INSTALL}/etc/xml/catalog
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --add public "-//W3C//DTD MathML//EN" "../../share/xml/w3c/mathml2/mathml2.dtd" ${MINGW_INSTALL}/etc/xml/catalog
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --add system "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd" "../../share/xml/w3c/mathml2/mathml2.dtd" ${MINGW_INSTALL}/etc/xml/catalog
}
post_remove() {
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --del "-//W3C//DTD MathML 2.0//EN" ${MINGW_INSTALL}/etc/xml/catalog
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --del "-//W3C//DTD MathML//EN" ${MINGW_INSTALL}/etc/xml/catalog
${MINGW_INSTALL}/bin/xmlcatalog.exe --noout --del "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd" ${MINGW_INSTALL}/etc/xml/catalog
}
post_upgrade() {
if [ $(vercmp $2 4.5) -ge 0 ]; then
post_remove
fi
post_install
}

View File

@ -7,7 +7,7 @@ pkgver=0.4.2
pkgrel=1
pkgdesc="A lightweight C99 portability and data structure library (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
msys2_references=(
'archlinux: zix'
)