Skip to content

Commit 4548875

Browse files
authored
Merge pull request #102 from dscho/move-i686-to-msys2-runtime-3.3
msys2-runtime-3.3: replace msys2-runtime in i686 setups
2 parents ff8e8ef + a5d261f commit 4548875

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.ci/ci-build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ execute 'Approving recipe quality' check_recipe_quality
3434

3535
message 'Building packages'
3636
for package in "${packages[@]}"; do
37+
test msys2-runtime-3.3 != "${package}" || {
38+
echo "Skipping ${package}: we only need to build this for i686" >&2
39+
continue
40+
}
41+
3742
echo "::group::[build] ${package}"
3843
execute 'Fetch keys' "$DIR/fetch-validpgpkeys.sh"
3944
execute 'Building binary' makepkg --noconfirm --noprogressbar --nocheck --syncdeps --rmdeps --cleanbuild

msys2-runtime-3.3/PKGBUILD

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
pkgbase=msys2-runtime-3.3
55
pkgname=('msys2-runtime-3.3' 'msys2-runtime-3.3-devel')
66
pkgver=3.3.6
7-
pkgrel=1
7+
pkgrel=2
88
pkgdesc="Cygwin POSIX emulation engine"
99
arch=('i686')
1010
url="https://www.cygwin.com/"
@@ -298,6 +298,8 @@ package_msys2-runtime-3.3() {
298298
replaces=('catgets' 'libcatgets')
299299
#install=msys2-runtime.install
300300

301+
test i686-pc-msys != "$CHOST" || replaces+=('msys2-runtime')
302+
301303
mkdir -p "${pkgdir}"/usr
302304
cp -rf "${srcdir}"/dest/usr/bin "${pkgdir}"/usr/
303305
rm -f "${pkgdir}"/usr/bin/msys-2.0.dbg
@@ -318,6 +320,8 @@ package_msys2-runtime-3.3-devel() {
318320
conflicts=('libcatgets-devel' 'msys2-runtime-devel')
319321
replaces=('libcatgets-devel')
320322

323+
test i686-pc-msys != "$CHOST" || replaces+=('msys2-runtime-devel')
324+
321325
mkdir -p "${pkgdir}"/usr/bin
322326
cp -f "${srcdir}"/dest/usr/bin/msys-2.0.dbg "${pkgdir}"/usr/bin/
323327
cp -rLf "${srcdir}"/dest/usr/${CHOST}/include "${pkgdir}"/usr/

0 commit comments

Comments
 (0)