Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fix for mingw-w64-clang PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index 5ecf3c9..acecc97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Mildred Ki'Lya <mildred-pub.aur@mildred.fr>
pkgname=mingw-w64-clang
-pkgver=r70.fc6bf05
+pkgver=r76.e3b174e
pkgrel=1
pkgdesc="MinGW clang wrapper (wclang)"
url="https://github.com/tpoechtrager/wclang"
@@ -19,12 +19,14 @@ pkgver() {
build() {
cd "${srcdir}/wclang"
- cmake -DCMAKE_INSTALL_PREFIX=/usr .
+ mkdir build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr" ..
make
}
package() {
- cd "${srcdir}/wclang"
- make DESTDIR="${pkgdir}" install
+ cd "${srcdir}/wclang/build"
+ make install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.