summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichel Zou2017-07-31 19:53:14 +0200
committerMichel Zou2017-07-31 19:53:14 +0200
commit354158928c4e5f95eea0c6f6beb1f51430710a91 (patch)
treef90491f97ebb97073c0513aab22e6be95d351e38 /PKGBUILD
parentd633e89df705fdbef4f732c4727f11c9a6f98508 (diff)
downloadaur-mingw-w64-asmjit.tar.gz
PR177
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 1 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3bb454bfa3d..f604ec81199 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mingw-w64-asmjit
-pkgver=r255.1370fe6
+pkgver=r256.63d1c22
pkgrel=1
pkgdesc="Complete x86/x64 JIT and Remote Assembler for C++ (mingw-w64)"
arch=('any')
@@ -22,20 +22,15 @@ pkgver() {
build () {
cd "$srcdir/asmjit"
- # https://github.com/asmjit/asmjit/pull/177
- sed -i 's|DESTINATION "lib\${LIB_SUFFIX}")|LIBRARY DESTINATION lib\${LIB_SUFFIX} ARCHIVE DESTINATION lib\${LIB_SUFFIX} RUNTIME DESTINATION bin)|g' CxxProject.cmake
-
for _arch in ${_architectures}; do
mkdir -p build-${_arch}-static && pushd build-${_arch}-static
${_arch}-cmake \
- -DCMAKE_BUILD_TYPE=Release \
-DASMJIT_STATIC=ON \
..
make
popd
mkdir -p build-${_arch} && pushd build-${_arch}
${_arch}-cmake \
- -DCMAKE_BUILD_TYPE=Release \
..
make
popd