blob: bf2f24047e249cc0cb2a6273936868d0dfeed077 (
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
|
pkgname=mingw-w64-wclang-git
pkgver=r98.568d8c1
pkgrel=1
pkgdesc="MinGW clang wrapper (mingw-w64)"
url="https://github.com/tpoechtrager/wclang"
arch=('x86_64')
license=(GPL)
depends=('mingw-w64-gcc' 'clang')
makedepends=('cmake' 'git')
source=("git+https://github.com/tpoechtrager/wclang.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/wclang"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/wclang"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "${srcdir}/wclang"
make DESTDIR="${pkgdir}" install
}
|