Date: Monday, May 31, 2021 @ 17:35:05 Author: felixonmars Revision: 952847
archrelease: copy trunk to community-any Added: mingw-w64-headers/repos/community-any/PKGBUILD (from rev 952846, mingw-w64-headers/trunk/PKGBUILD) Deleted: mingw-w64-headers/repos/community-any/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-31 17:34:53 UTC (rev 952846) +++ PKGBUILD 2021-05-31 17:35:05 UTC (rev 952847) @@ -1,41 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname='mingw-w64-headers' -pkgver=8.0.2 -pkgrel=1 -pkgdesc="MinGW-w64 headers for Windows" -arch=('any') -url="http://mingw-w64.sourceforge.net" -license=('custom') -groups=('mingw-w64-toolchain' 'mingw-w64') -options=('!strip' '!libtool' '!emptydirs') -validpgpkeys=('CAF5641F74F7DFBA88AE205693BDB53CD4EBC740') -source=(https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v${pkgver}.tar.bz2{,.sig}) -sha512sums=('a2eb0891ab153fed41969a3d86b770dbaf65dfc836dae83888ddbb79459b51301b91f3ec25292a8f236ab4df863e1bb58393d024bf078dc7e51492124c599b0c' - 'SKIP') - -_targets="i686-w64-mingw32 x86_64-w64-mingw32" - -build() { - for _target in ${_targets}; do - echo "Configuring ${_target} headers" - mkdir -p "$srcdir"/headers-${_target} && cd "$srcdir"/headers-${_target} - "$srcdir"/mingw-w64-v${pkgver}/mingw-w64-headers/configure --prefix=/usr/${_target} --enable-sdk=all --host=${_target} - done -} - -package() { - for _target in ${_targets}; do - echo "Installing ${_target} headers" - cd "$srcdir"/headers-${_target} - make DESTDIR="$pkgdir" install - rm "$pkgdir"/usr/${_target}/include/pthread_signal.h - rm "$pkgdir"/usr/${_target}/include/pthread_time.h - rm "$pkgdir"/usr/${_target}/include/pthread_unistd.h - done - - echo "Installing MinGW-w64 licenses" - install -Dm644 "$srcdir"/mingw-w64-v${pkgver}/COPYING.MinGW-w64/COPYING.MinGW-w64.txt "$pkgdir"/usr/share/licenses/${pkgname}/COPYING.MinGW-w64.txt - install -Dm644 "$srcdir"/mingw-w64-v${pkgver}/COPYING.MinGW-w64-runtime/COPYING.MinGW-w64-runtime.txt "$pkgdir"/usr/share/licenses/${pkgname}/COPYING.MinGW-w64-runtime.txt - install -Dm644 "$srcdir"/mingw-w64-v${pkgver}/mingw-w64-headers/ddk/readme.txt "$pkgdir"/usr/share/licenses/${pkgname}/ddk-readme.txt -} Copied: mingw-w64-headers/repos/community-any/PKGBUILD (from rev 952846, mingw-w64-headers/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-31 17:35:05 UTC (rev 952847) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname='mingw-w64-headers' +pkgver=9.0.0 +pkgrel=1 +pkgdesc="MinGW-w64 headers for Windows" +arch=('any') +url="http://mingw-w64.sourceforge.net" +license=('custom') +groups=('mingw-w64-toolchain' 'mingw-w64') +options=('!strip' '!libtool' '!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() { + for _target in ${_targets}; do + echo "Configuring ${_target} headers" + mkdir -p "$srcdir"/headers-${_target} && cd "$srcdir"/headers-${_target} + "$srcdir"/mingw-w64-v${pkgver}/mingw-w64-headers/configure --prefix=/usr/${_target} --enable-sdk=all --host=${_target} + done +} + +package() { + for _target in ${_targets}; do + echo "Installing ${_target} headers" + cd "$srcdir"/headers-${_target} + make DESTDIR="$pkgdir" install + rm "$pkgdir"/usr/${_target}/include/pthread_signal.h + rm "$pkgdir"/usr/${_target}/include/pthread_time.h + rm "$pkgdir"/usr/${_target}/include/pthread_unistd.h + done + + echo "Installing MinGW-w64 licenses" + install -Dm644 "$srcdir"/mingw-w64-v${pkgver}/COPYING.MinGW-w64/COPYING.MinGW-w64.txt "$pkgdir"/usr/share/licenses/${pkgname}/COPYING.MinGW-w64.txt + install -Dm644 "$srcdir"/mingw-w64-v${pkgver}/COPYING.MinGW-w64-runtime/COPYING.MinGW-w64-runtime.txt "$pkgdir"/usr/share/licenses/${pkgname}/COPYING.MinGW-w64-runtime.txt + install -Dm644 "$srcdir"/mingw-w64-v${pkgver}/mingw-w64-headers/ddk/readme.txt "$pkgdir"/usr/share/licenses/${pkgname}/ddk-readme.txt +}