[arch-commits] Commit in mingw-w64-headers-bootstrap/repos (2 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Nov 18 17:43:15 UTC 2013
Date: Monday, November 18, 2013 @ 18:43:15
Author: spupykin
Revision: 101182
archrelease: copy trunk to community-any
Added:
mingw-w64-headers-bootstrap/repos/community-any/
mingw-w64-headers-bootstrap/repos/community-any/PKGBUILD
(from rev 101181, mingw-w64-headers-bootstrap/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: mingw-w64-headers-bootstrap/repos/community-any/PKGBUILD (from rev 101181, mingw-w64-headers-bootstrap/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2013-11-18 17:43:15 UTC (rev 101182)
@@ -0,0 +1,35 @@
+# $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"
+_dummystring="/* Dummy header, which gets overriden, if winpthread library gets installed. */"
+
+pkgname=mingw-w64-headers-bootstrap
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="MinGW-w64 headers for Windows (bootstrap)"
+arch=('any')
+url="http://mingw-w64.sourceforge.net"
+license=('custom')
+groups=('mingw-w64-bootstrap' 'mingw-w64')
+makedepends=('mingw-w64-headers')
+conflicts=('mingw-w64-winpthreads', 'mingw-w64-winpthreads-svn')
+options=('!strip' '!libtool' '!emptydirs')
+source=()
+md5sums=()
+
+build() {
+ mkdir -p ${srcdir}/dummy/ && cd ${srcdir}/dummy
+ echo "${_dummystring}" > pthread_signal.h
+ echo "${_dummystring}" > pthread_time.h
+ echo "${_dummystring}" > pthread_unistd.h
+}
+
+package() {
+ for _target in ${_targets}; do
+ install -Dm644 ${srcdir}/dummy/pthread_signal.h ${pkgdir}/usr/${_target}/include/pthread_signal.h
+ install -Dm644 ${srcdir}/dummy/pthread_time.h ${pkgdir}/usr/${_target}/include/pthread_time.h
+ install -Dm644 ${srcdir}/dummy/pthread_unistd.h ${pkgdir}/usr/${_target}/include/pthread_unistd.h
+ done
+}
More information about the arch-commits
mailing list