It only affects the references atm, so just make it a special key there instead. Less confusing.
30 lines
817 B
Bash
30 lines
817 B
Bash
# Maintainer: David Macek <david.macek.0@gmail.com>
|
|
|
|
_realname="msys2-launcher"
|
|
pkgname=("${_realname}")
|
|
pkgver=1.5
|
|
pkgrel=1
|
|
pkgdesc="Helper for launching MSYS2 shells"
|
|
arch=('x86_64' 'i686')
|
|
license=('MIT')
|
|
backup=({mingw32,mingw64,msys2,ucrt64,clang64,clang32,clangarm64}.ini)
|
|
conflicts=("${_realname}-git")
|
|
replaces=("${_realname}-git")
|
|
depends=("mintty>=1~2.2.1")
|
|
makedepends=('mingw-w64-cross-gcc')
|
|
source=("https://github.com/msys2/msys2-launcher/archive/v${pkgver}.tar.gz")
|
|
sha256sums=('bd0552417efd04e5c46c2c7009181d72fac0380e99f43d4b2633a505f147f773')
|
|
msys2_references=(
|
|
'internal'
|
|
)
|
|
|
|
build() {
|
|
cd "msys2-launcher-${pkgver}"
|
|
make PREFIX=/opt/bin/${CARCH}-w64-mingw32-
|
|
}
|
|
|
|
package() {
|
|
cd "msys2-launcher-${pkgver}"
|
|
cp {mingw32,mingw64,msys2,ucrt64,clang64,clang32,clangarm64}.{exe,ini} "${pkgdir}"
|
|
}
|