[arch-commits] Commit in mingw-w64-headers/repos/community-any (PKGBUILD PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Mon Jan 23 15:04:52 UTC 2017
Date: Monday, January 23, 2017 @ 15:04:52
Author: spupykin
Revision: 208576
archrelease: copy trunk to community-any
Added:
mingw-w64-headers/repos/community-any/PKGBUILD
(from rev 208575, mingw-w64-headers/trunk/PKGBUILD)
Deleted:
mingw-w64-headers/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 46 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-23 15:04:40 UTC (rev 208575)
+++ PKGBUILD 2017-01-23 15:04:52 UTC (rev 208576)
@@ -1,44 +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-headers'
-pkgver=5.0.0
-_pkgver=${pkgver/rc/-rc}
-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')
-source=(http://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v${_pkgver}.tar.bz2)
-md5sums=('c9f4bb72a87d9be2cc98e0d7e1868c88')
-
-build() {
- for _target in ${_targets}; do
- msg "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 --enable-secure-api --host=${_target}
- done
-}
-
-package() {
- for _target in ${_targets}; do
- msg "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
-
- msg "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
- install -Dm644 ${srcdir}/mingw-w64-v${_pkgver}/mingw-w64-headers/direct-x/COPYING.LIB ${pkgdir}/usr/share/licenses/${pkgname}/direct-x-COPYING.LIB
- install -Dm644 ${srcdir}/mingw-w64-v${_pkgver}/mingw-w64-headers/direct-x/readme.txt ${pkgdir}/usr/share/licenses/${pkgname}/direct-x-readme.txt
-}
Copied: mingw-w64-headers/repos/community-any/PKGBUILD (from rev 208575, mingw-w64-headers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-01-23 15:04:52 UTC (rev 208576)
@@ -0,0 +1,46 @@
+# $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-headers'
+pkgver=5.0.1
+_pkgver=${pkgver/rc/-rc}
+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})
+sha256sums=('9bb5cd7df78817377841a63555e73596dc0af4acbb71b09bd48de7cf24aeadd2'
+ 'SKIP')
+
+build() {
+ for _target in ${_targets}; do
+ msg "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 --enable-secure-api --host=${_target}
+ done
+}
+
+package() {
+ for _target in ${_targets}; do
+ msg "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
+
+ msg "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
+ install -Dm644 "$srcdir"/mingw-w64-v${_pkgver}/mingw-w64-headers/direct-x/COPYING.LIB "$pkgdir"/usr/share/licenses/${pkgname}/direct-x-COPYING.LIB
+ install -Dm644 "$srcdir"/mingw-w64-v${_pkgver}/mingw-w64-headers/direct-x/readme.txt "$pkgdir"/usr/share/licenses/${pkgname}/direct-x-readme.txt
+}
More information about the arch-commits
mailing list