Date: Wednesday, March 29, 2017 @ 17:43:22 Author: spupykin Revision: 219940
archrelease: copy trunk to community-any Added: mingw-w64-winpthreads/repos/community-any/PKGBUILD (from rev 219939, mingw-w64-winpthreads/trunk/PKGBUILD) Deleted: mingw-w64-winpthreads/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-03-29 17:43:11 UTC (rev 219939) +++ PKGBUILD 2017-03-29 17:43:22 UTC (rev 219940) @@ -1,42 +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-winpthreads -pkgver=5.0.1 -_pkgver=${pkgver/rc/-rc} -pkgrel=1 -pkgdesc='MinGW-w64 winpthreads library' -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-crt') -provides=('mingw-w64-headers-bootstrap') -conflicts=('mingw-w64-headers-bootstrap') -replaces=('mingw-w64-headers-bootstrap') -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}) -sha256sums=('9bb5cd7df78817377841a63555e73596dc0af4acbb71b09bd48de7cf24aeadd2' - 'SKIP') - -build() { - for _target in ${_targets}; do - msg "Building ${_target} winpthreads..." - mkdir -p "$srcdir"/winpthreads-build-${_target} && cd "$srcdir"/winpthreads-build-${_target} - "$srcdir"/mingw-w64-v${_pkgver}/mingw-w64-libraries/winpthreads/configure --prefix=/usr/${_target} \ - --host=${_target} --enable-static --enable-shared - make - done -} - -package() { - for _target in ${_targets}; do - cd "$srcdir"/winpthreads-build-${_target} - make DESTDIR="$pkgdir" install - ${_target}-strip --strip-unneeded "$pkgdir"/usr/${_target}/bin/*.dll - done -} \ No newline at end of file Copied: mingw-w64-winpthreads/repos/community-any/PKGBUILD (from rev 219939, mingw-w64-winpthreads/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-03-29 17:43:22 UTC (rev 219940) @@ -0,0 +1,42 @@ +# $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-winpthreads +pkgver=5.0.2 +_pkgver=${pkgver/rc/-rc} +pkgrel=1 +pkgdesc='MinGW-w64 winpthreads library' +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-crt') +provides=('mingw-w64-headers-bootstrap') +conflicts=('mingw-w64-headers-bootstrap') +replaces=('mingw-w64-headers-bootstrap') +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}) +sha256sums=('5f46e80ff1a9102a37a3453743dae9df98262cba7c45306549ef7432cfd92cfd' + 'SKIP') + +build() { + for _target in ${_targets}; do + msg "Building ${_target} winpthreads..." + mkdir -p "$srcdir"/winpthreads-build-${_target} && cd "$srcdir"/winpthreads-build-${_target} + "$srcdir"/mingw-w64-v${_pkgver}/mingw-w64-libraries/winpthreads/configure --prefix=/usr/${_target} \ + --host=${_target} --enable-static --enable-shared + make + done +} + +package() { + for _target in ${_targets}; do + cd "$srcdir"/winpthreads-build-${_target} + make DESTDIR="$pkgdir" install + ${_target}-strip --strip-unneeded "$pkgdir"/usr/${_target}/bin/*.dll + done +} \ No newline at end of file