Date: Wednesday, August 5, 2015 @ 12:03:20 Author: spupykin Revision: 137971
archrelease: copy trunk to community-any Added: mingw-w64-crt/repos/community-any/PKGBUILD (from rev 137970, 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 2015-08-05 10:03:11 UTC (rev 137970) +++ PKGBUILD 2015-08-05 10:03:20 UTC (rev 137971) @@ -1,50 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@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.2 -_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=('bb6404499342e02447b7c49f47b06b5e') - -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 137970, mingw-w64-crt/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-08-05 10:03:20 UTC (rev 137971) @@ -0,0 +1,50 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@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.4 +_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=('d54e353670e17b54f1ac86df3bb33e31') + +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 +}