Add mingw-w64-gcc
This commit is contained in:
35
src/mingw-w64-headers-bootstrap/PKGBUILD
Normal file
35
src/mingw-w64-headers-bootstrap/PKGBUILD
Normal file
@@ -0,0 +1,35 @@
|
||||
# $Id: PKGBUILD 266004 2017-11-09 13:17:42Z spupykin $
|
||||
# Maintainer: Sergej Pupykin <pupykin.s+arch@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=5.0.3
|
||||
pkgrel=1
|
||||
pkgdesc="MinGW-w64 headers for Windows (bootstrap)"
|
||||
arch=('any')
|
||||
url="http://mingw-w64.sourceforge.net"
|
||||
license=('custom')
|
||||
groups=('mingw-w64-bootstrap')
|
||||
makedepends=('mingw-w64-headers')
|
||||
conflicts=('mingw-w64-winpthreads', 'mingw-w64-winpthreads-svn')
|
||||
options=('!strip' '!libtool' '!emptydirs')
|
||||
source=()
|
||||
sha256sums=()
|
||||
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user