blob: 6a510c09607a98495a54210b90bc6185fa0c7db1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: 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')
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
}
|