Skip to content

Commit

Permalink
msys2-runtime-3.3: build as msys2-runtime on i686
Browse files Browse the repository at this point in the history
So there is an automated upgrade path and users don't
have to manually switch to msys2-runtime-3.3.
  • Loading branch information
lazka committed Feb 3, 2025
1 parent f774391 commit 57f8e96
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions msys2-runtime-3.3/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
# Contributor: Ray Donnelly <mingw.android@gmail.com>

pkgbase=msys2-runtime-3.3
pkgname=('msys2-runtime-3.3' 'msys2-runtime-3.3-devel')
if [ "$CARCH" == "i686" ]; then
pkgname=('msys2-runtime' 'msys2-runtime-devel')
else
pkgname=('msys2-runtime-3.3' 'msys2-runtime-3.3-devel')
fi
pkgver=3.3.6
pkgrel=13
pkgrel=14
pkgdesc="Cygwin POSIX emulation engine"
arch=('i686' 'x86_64')
url="https://www.cygwin.com/"
Expand Down Expand Up @@ -300,6 +304,15 @@ package_msys2-runtime-3.3() {
cp -rf "${srcdir}"/dest/usr/share "${pkgdir}"/usr/
}

package_msys2-runtime() {
pkgdesc="Posix emulation engine for Windows"
options=('!strip')
conflicts=('catgets' 'libcatgets')
replaces=('catgets' 'libcatgets')

package_msys2-runtime-3.3
}

package_msys2-runtime-3.3-devel() {
pkgdesc="MSYS2 headers and libraries"
depends=("msys2-runtime-3.3=${pkgver}")
Expand All @@ -318,3 +331,13 @@ package_msys2-runtime-3.3-devel() {

cp -rLf "${srcdir}"/dest/usr/${CHOST}/lib "${pkgdir}"/usr/
}

package_msys2-runtime-devel() {
pkgdesc="MSYS2 headers and libraries"
depends=("msys2-runtime=${pkgver}")
options=('staticlibs' '!strip')
conflicts=('libcatgets-devel')
replaces=('libcatgets-devel')

package_msys2-runtime-3.3-devel
}

0 comments on commit 57f8e96

Please sign in to comment.