blob: c2b6821127d62951cbe537ed8ee75ba2780b1fd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Maintainer: Karl Ludwig Brennan <karlludwigbrennan@outlook.com>
pkgname=llvm-mingw-w64-toolchain-ucrt-bin
pkgver=20241030
pkgrel=1
pkgdesc="LLVM/Clang/LLD based mingw-w64 toolchain (UCRT) targeting i686, x86-64, armv7, and aarch64"
_crt=ucrt
arch=('aarch64' 'x86_64')
url="https://github.com/mstorsjo/llvm-mingw"
license=('custom')
depends=()
provides=('llvm-mingw-w64-toolchain' 'mingw-w64-binutils' 'mingw-w64-crt' 'mingw-w64-gcc' 'mingw-w64-headers' 'mingw-w64-winpthreads')
source=("https://github.com/mstorsjo/llvm-mingw/releases/download/${pkgver}/llvm-mingw-${pkgver}-${_crt}-ubuntu-20.04-${CARCH}.tar.xz")
if [ "$CARCH" = "aarch64" ]; then
sha256sums=('1f574003bd5a40e755db2de97944d60dd24945409b4a9443556aa69d30d8ba65')
else
sha256sums=('05c55108e9b400bda1d4cef8e22c0e5f9495f1316c072e92b9f7965114a30b66')
fi
options=(!strip)
package() {
mkdir -p ${pkgdir}/opt/llvm-mingw/llvm-mingw-$_crt
cp -dpr --no-preserve=ownership ./llvm-mingw-${pkgver}-${_crt}-ubuntu-20.04-${CARCH}/* "${pkgdir}/opt/llvm-mingw/llvm-mingw-$_crt"
}
|