Date: Sunday, September 4, 2022 @ 01:37:57
  Author: ffy00
Revision: 1292783

archrelease: copy trunk to community-x86_64

Added:
  mingw-w64-gcc/repos/community-x86_64/PKGBUILD
    (from rev 1292782, mingw-w64-gcc/trunk/PKGBUILD)
  mingw-w64-gcc/repos/community-x86_64/keys/
Deleted:
  mingw-w64-gcc/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  138 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 69 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-04 01:37:52 UTC (rev 1292782)
+++ PKGBUILD    2022-09-04 01:37:57 UTC (rev 1292783)
@@ -1,69 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-pkgname=mingw-w64-gcc
-pkgver=12.1.0
-pkgrel=1
-pkgdesc="Cross GCC for the MinGW-w64 cross-compiler"
-arch=('x86_64' 'aarch64')
-url="https://gcc.gnu.org";
-license=('GPL' 'LGPL' 'FDL' 'custom')
-groups=('mingw-w64-toolchain' 'mingw-w64')
-depends=('zlib' 'libisl' 'libmpc' 'mingw-w64-crt' 'mingw-w64-binutils' 
'mingw-w64-winpthreads' 'mingw-w64-headers')
-makedepends=("gcc-ada>=${pkgver:0:2}")
-options=('!strip' 'staticlibs' '!emptydirs' '!buildflags')
-source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
-       
https://raw.githubusercontent.com/msys2/MINGW-packages/master/mingw-w64-gcc/0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch)
-validpgpkeys=(D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62  # Jakub Jelinek 
<ja...@redhat.com>
-              13975A70E63C361C73AE69EF6EEB81F8981C74C7) # 
richard.guent...@gmail.com
-sha512sums=('2121d295292814a6761edf1fba08c5f633ebe16f52b80e7b73a91050e71e1d2ed98bf17eebad263e191879561c02b48906c53faa4c4670c486a26fc75df23900'
-            'SKIP'
-            
'8266eae8b3be5557e8cd79c21b6326db7cd83604db6d6ad83923798650fcd8d0f9f1f4ed424c816a48e91f21fb1852ab9272c73100b219f07d3bbb566bfd6fae')
-
-_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
-
-prepare() {
-  ln -sf gcc-${pkgver/+/-} gcc
-  cd gcc
-
-  # https://sourceforge.net/p/mingw-w64/bugs/853/
-  patch -p1 -i ../0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
-
-  # mmapio.c:69:14: error: implicit declaration of function ‘getpagesize’
-  sed -i 's|\-Werror||g' libbacktrace/configure
-}
-
-build() {
-  for _arch in ${_architectures}; do
-    mkdir -p "$srcdir"/build-${_arch} && cd "$srcdir"/build-${_arch}
-    "$srcdir"/gcc/configure --prefix=/usr --libexecdir=/usr/lib \
-        --target=${_arch} \
-        --with-bugurl=https://bugs.archlinux.org/ \
-        --enable-languages=c,lto,c++,ada,objc,obj-c++,fortran \
-        --enable-shared --enable-static \
-        --enable-threads=posix --enable-fully-dynamic-string \
-        --enable-libstdcxx-time=yes --enable-libstdcxx-filesystem-ts=yes \
-        --with-system-zlib --enable-cloog-backend=isl \
-        --enable-lto --enable-libgomp \
-        --disable-multilib --enable-checking=release \
-        --disable-sjlj-exceptions --with-dwarf2
-    make
-  done
-}
-
-package() {
-  for _arch in ${_architectures}; do
-    cd "$srcdir"/build-${_arch}
-    make DESTDIR="$pkgdir" install
-    ${_arch}-strip "$pkgdir"/usr/${_arch}/lib/*.dll
-    strip "$pkgdir"/usr/bin/${_arch}-*
-    strip 
"$pkgdir"/usr/lib/gcc/${_arch}/${pkgver}/{cc1*,collect2,gnat1,f951,lto*}
-    ln -s ${_arch}-gcc "$pkgdir"/usr/bin/${_arch}-cc
-    # mv dlls
-    mkdir -p "$pkgdir"/usr/${_arch}/bin/
-    mv "$pkgdir"/usr/${_arch}/lib/*.dll "$pkgdir"/usr/${_arch}/bin/
-  done
-  strip "$pkgdir"/usr/bin/*
-  # remove unnecessary files
-  rm -r "$pkgdir"/usr/share
-  rm "$pkgdir"/usr/lib/libcc1.*
-}

Copied: mingw-w64-gcc/repos/community-x86_64/PKGBUILD (from rev 1292782, 
mingw-w64-gcc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-09-04 01:37:57 UTC (rev 1292783)
@@ -0,0 +1,69 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=mingw-w64-gcc
+pkgver=12.2.0
+pkgrel=1
+pkgdesc="Cross GCC for the MinGW-w64 cross-compiler"
+arch=('x86_64' 'aarch64')
+url="https://gcc.gnu.org";
+license=('GPL' 'LGPL' 'FDL' 'custom')
+groups=('mingw-w64-toolchain' 'mingw-w64')
+depends=('zlib' 'libisl' 'libmpc' 'mingw-w64-crt' 'mingw-w64-binutils' 
'mingw-w64-winpthreads' 'mingw-w64-headers')
+makedepends=("gcc-ada>=${pkgver:0:2}")
+options=('!strip' 'staticlibs' '!emptydirs' '!buildflags')
+source=(https://ftp.gnu.org/gnu/gcc/gcc-$pkgver/gcc-$pkgver.tar.xz{,.sig}
+       
https://raw.githubusercontent.com/msys2/MINGW-packages/master/mingw-w64-gcc/0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch)
+validpgpkeys=(D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62  # Jakub Jelinek 
<ja...@redhat.com>
+              13975A70E63C361C73AE69EF6EEB81F8981C74C7) # 
richard.guent...@gmail.com
+sha512sums=('e9e857bd81bf7a370307d6848c81b2f5403db8c7b5207f54bce3f3faac3bde63445684092c2bc1a2427cddb6f7746496d9fbbef05fbbd77f2810b2998f1f9173'
+            'SKIP'
+            
'71f0472b1d199dff7f25333da0b4c766e484b57daa0f75aeb9a0ce2187a3e7f4fc4bd5cfe464c942855eadbcdcc3646a7a3b64144fb3379dcbd6e7fc39a374c4')
+
+_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
+
+prepare() {
+  ln -sf gcc-${pkgver/+/-} gcc
+  cd gcc
+
+  # https://sourceforge.net/p/mingw-w64/bugs/853/
+  patch -p1 -i ../0020-libgomp-Don-t-hard-code-MS-printf-attributes.patch
+
+  # mmapio.c:69:14: error: implicit declaration of function ‘getpagesize’
+  sed -i 's|\-Werror||g' libbacktrace/configure
+}
+
+build() {
+  for _arch in ${_architectures}; do
+    mkdir -p "$srcdir"/build-${_arch} && cd "$srcdir"/build-${_arch}
+    "$srcdir"/gcc/configure --prefix=/usr --libexecdir=/usr/lib \
+        --target=${_arch} \
+        --with-bugurl=https://bugs.archlinux.org/ \
+        --enable-languages=c,lto,c++,ada,objc,obj-c++,fortran \
+        --enable-shared --enable-static \
+        --enable-threads=posix --enable-fully-dynamic-string \
+        --enable-libstdcxx-time=yes --enable-libstdcxx-filesystem-ts=yes \
+        --with-system-zlib --enable-cloog-backend=isl \
+        --enable-lto --enable-libgomp \
+        --disable-multilib --enable-checking=release \
+        --disable-sjlj-exceptions --with-dwarf2
+    make
+  done
+}
+
+package() {
+  for _arch in ${_architectures}; do
+    cd "$srcdir"/build-${_arch}
+    make DESTDIR="$pkgdir" install
+    ${_arch}-strip "$pkgdir"/usr/${_arch}/lib/*.dll
+    strip "$pkgdir"/usr/bin/${_arch}-*
+    strip 
"$pkgdir"/usr/lib/gcc/${_arch}/${pkgver}/{cc1*,collect2,gnat1,f951,lto*}
+    ln -s ${_arch}-gcc "$pkgdir"/usr/bin/${_arch}-cc
+    # mv dlls
+    mkdir -p "$pkgdir"/usr/${_arch}/bin/
+    mv "$pkgdir"/usr/${_arch}/lib/*.dll "$pkgdir"/usr/${_arch}/bin/
+  done
+  strip "$pkgdir"/usr/bin/*
+  # remove unnecessary files
+  rm -r "$pkgdir"/usr/share
+  rm "$pkgdir"/usr/lib/libcc1.*
+}

Reply via email to