[arch-commits] Commit in mingw-w64-crt/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon May 31 18:49:49 UTC 2021


    Date: Monday, May 31, 2021 @ 18:49:49
  Author: felixonmars
Revision: 952869

archrelease: copy trunk to community-any

Added:
  mingw-w64-crt/repos/community-any/PKGBUILD
    (from rev 952868, mingw-w64-crt/trunk/PKGBUILD)
Deleted:
  mingw-w64-crt/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-31 18:49:33 UTC (rev 952868)
+++ PKGBUILD	2021-05-31 18:49:49 UTC (rev 952869)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=mingw-w64-crt
-pkgver=8.0.0
-pkgrel=1
-pkgdesc='MinGW-w64 CRT for Windows'
-arch=('any')
-url='http://mingw-w64.sourceforge.net'
-license=('custom')
-groups=('mingw-w64-toolchain' 'mingw-w64')
-makedepends=('mingw-w64-gcc' 'mingw-w64-binutils' "mingw-w64-headers=${pkgver}")
-options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
-validpgpkeys=('CAF5641F74F7DFBA88AE205693BDB53CD4EBC740')
-source=(https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v${pkgver}.tar.bz2{,.sig})
-sha512sums=('cefcc86ac3e6337c88ed224ab4692abbd5eb543ce78fb6c5462198a85f36c9274a0a1df0a0bebd182137fd527c15831f9237c782711a85f32e77d9104b28359e'
-            'SKIP')
-
-_targets="i686-w64-mingw32 x86_64-w64-mingw32"
-
-build() {
-  cd "$srcdir"
-  for _target in ${_targets}; do
-    msg "Building ${_target} CRT"
-    if [ ${_target} == "i686-w64-mingw32" ]; then
-        _crt_configure_args="--disable-lib64 --enable-lib32"
-    elif [ ${_target} == "x86_64-w64-mingw32" ]; then
-        _crt_configure_args="--disable-lib32 --enable-lib64"
-    fi
-    mkdir -p "$srcdir"/crt-${_target} && cd "$srcdir"/crt-${_target}
-    "$srcdir"/mingw-w64-v${pkgver}/mingw-w64-crt/configure --prefix=/usr/${_target} \
-        --host=${_target} --enable-wildcard \
-        ${_crt_configure_args}
-    make
-  done
-}
-
-package() {
-  for _target in ${_targets}; do
-    msg "Installing ${_target} crt"
-    cd "$srcdir"/crt-${_target}
-    make DESTDIR="$pkgdir" install
-  done
-}

Copied: mingw-w64-crt/repos/community-any/PKGBUILD (from rev 952868, mingw-w64-crt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-31 18:49:49 UTC (rev 952869)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=mingw-w64-crt
+pkgver=9.0.0
+pkgrel=1
+pkgdesc='MinGW-w64 CRT for Windows'
+arch=('any')
+url='http://mingw-w64.sourceforge.net'
+license=('custom')
+groups=('mingw-w64-toolchain' 'mingw-w64')
+makedepends=('mingw-w64-gcc' 'mingw-w64-binutils' "mingw-w64-headers=${pkgver}")
+options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
+validpgpkeys=('CAF5641F74F7DFBA88AE205693BDB53CD4EBC740')
+source=(https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v${pkgver}.tar.bz2{,.sig})
+sha512sums=('6691331a2ab521d22c1d32bebe0ed049bd62a7a7722cff38e7792b4e42c6b8df4356084afff6c916b487b3ebddc4372b398ab7cd0c7f4ff6991a70fe64177386'
+            'SKIP')
+
+_targets="i686-w64-mingw32 x86_64-w64-mingw32"
+
+build() {
+  cd "$srcdir"
+  for _target in ${_targets}; do
+    echo "Building ${_target} CRT"
+    if [ ${_target} == "i686-w64-mingw32" ]; then
+        _crt_configure_args="--disable-lib64 --enable-lib32"
+    elif [ ${_target} == "x86_64-w64-mingw32" ]; then
+        _crt_configure_args="--disable-lib32 --enable-lib64"
+    fi
+    mkdir -p "$srcdir"/crt-${_target} && cd "$srcdir"/crt-${_target}
+    "$srcdir"/mingw-w64-v${pkgver}/mingw-w64-crt/configure --prefix=/usr/${_target} \
+        --host=${_target} --enable-wildcard \
+        ${_crt_configure_args}
+    make
+  done
+}
+
+package() {
+  for _target in ${_targets}; do
+    echo "Installing ${_target} crt"
+    cd "$srcdir"/crt-${_target}
+    make DESTDIR="$pkgdir" install
+  done
+}



More information about the arch-commits mailing list