[arch-commits] Commit in mingw-w64-crt/repos/community-any (PKGBUILD PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Mon Oct 24 12:43:08 UTC 2016
Date: Monday, October 24, 2016 @ 12:43:08
Author: spupykin
Revision: 193200
archrelease: copy trunk to community-any
Added:
mingw-w64-crt/repos/community-any/PKGBUILD
(from rev 193199, mingw-w64-crt/trunk/PKGBUILD)
Deleted:
mingw-w64-crt/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-24 12:42:58 UTC (rev 193199)
+++ PKGBUILD 2016-10-24 12:43:08 UTC (rev 193200)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: rubenvb vanboxem <dottie> ruben <attie> gmail <dottie> com
-
-_targets="i686-w64-mingw32 x86_64-w64-mingw32"
-
-pkgname=mingw-w64-crt
-pkgver=4.0.6
-_pkgver=${pkgver/rc/-rc}
-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')
-options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
-source=(http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v${_pkgver}.tar.bz2)
-md5sums=('e3998f1192ea44049685059225074952')
-
-prepare() {
- cd ${srcdir}/mingw-w64-v${_pkgver}/mingw-w64-crt
- aclocal
- automake
-}
-
-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 193199, mingw-w64-crt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-24 12:43:08 UTC (rev 193200)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: rubenvb vanboxem <dottie> ruben <attie> gmail <dottie> com
+
+_targets="i686-w64-mingw32 x86_64-w64-mingw32"
+
+pkgname=mingw-w64-crt
+pkgver=5.0.0
+_pkgver=${pkgver/rc/-rc}
+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')
+options=('!strip' '!buildflags' 'staticlibs' '!emptydirs')
+source=(http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v${_pkgver}.tar.bz2)
+md5sums=('c9f4bb72a87d9be2cc98e0d7e1868c88')
+
+prepare() {
+ cd ${srcdir}/mingw-w64-v${_pkgver}/mingw-w64-crt
+ aclocal
+ automake
+}
+
+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
+}
More information about the arch-commits
mailing list