aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/mingw-w64-gcc/APKBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/testing/mingw-w64-gcc/APKBUILD b/testing/mingw-w64-gcc/APKBUILD
index 9b52e1781c..fa07b69c5b 100644
--- a/testing/mingw-w64-gcc/APKBUILD
+++ b/testing/mingw-w64-gcc/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=mingw-w64-gcc
-pkgver=9.1.0
+pkgver=9.2.0
pkgrel=0
_islver=0.21
pkgdesc="Cross GCC for the MinGW-w64 cross-compiler"
@@ -17,7 +17,7 @@ depends="
makedepends="zlib-dev mpc1-dev gmp-dev mpfr-dev"
source="
$pkgname-$pkgver.tar.xz::https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz
- isl-${_islver}::http://isl.gforge.inria.fr/isl-${_islver}.tar.bz2
+ isl-$_islver::http://isl.gforge.inria.fr/isl-$_islver.tar.bz2
"
builddir="$srcdir/gcc-$pkgver"
@@ -27,7 +27,7 @@ case "$CARCH" in
esac
# Directory for our out-of-tree builds
-_gccdir="$srcdir"/gcc-build-${_target}
+_gccdir="$srcdir"/gcc-build-$_target
prepare() {
default_prepare
@@ -55,18 +55,18 @@ package() {
cd "$_gccdir"
make DESTDIR="$pkgdir" install
- ${_target}-strip "$pkgdir"/usr/${_target}/lib/*.dll
+ $_target-strip "$pkgdir"/usr/$_target/lib/*.dll
- strip "$pkgdir"/usr/bin/${_target}-*
- strip "$pkgdir"/usr/libexec/gcc/${_target}/$pkgver/cc1*
- strip "$pkgdir"/usr/libexec/gcc/${_target}/$pkgver/collect2
- strip "$pkgdir"/usr/libexec/gcc/${_target}/$pkgver/lto*
+ strip "$pkgdir"/usr/bin/$_target-*
+ strip "$pkgdir"/usr/libexec/gcc/$_target/$pkgver/cc1*
+ strip "$pkgdir"/usr/libexec/gcc/$_target/$pkgver/collect2
+ strip "$pkgdir"/usr/libexec/gcc/$_target/$pkgver/lto*
- ln -s ${_target}-gcc "$pkgdir"/usr/bin/${_target}-cc
+ ln -s $_target-gcc "$pkgdir"/usr/bin/$_target-cc
# Move DLLs
- mkdir -p "$pkgdir"/usr/${_target}/bin
- mv "$pkgdir"/usr/${_target}/lib/*.dll "$pkgdir"/usr/${_target}/bin
+ mkdir -p "$pkgdir"/usr/$_target/bin
+ mv "$pkgdir"/usr/$_target/lib/*.dll "$pkgdir"/usr/$_target/bin
strip "$pkgdir"/usr/bin/*
@@ -75,5 +75,5 @@ package() {
rm "$pkgdir"/usr/lib/libcc1.*
}
-sha512sums="b6134df027e734cee5395afd739fcfa4ea319a6017d662e54e89df927dea19d3fff7a6e35d676685383034e3db01c9d0b653f63574c274eeb15a2cb0bc7a1f28 mingw-w64-gcc-9.1.0.tar.xz
+sha512sums="a12dff52af876aee0fd89a8d09cdc455f35ec46845e154023202392adc164848faf8ee881b59b681b696e27c69fd143a214014db4214db62f9891a1c8365c040 mingw-w64-gcc-9.2.0.tar.xz
48f3b8d90550e8ab28837b5757f87bf99cddec67769877e04942abef69bbe526ef4c863951d55dd89a6027dc09df48988c8df6029782f990aa4d5b67e65f6d53 isl-0.21"