summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPaul Hentschel (hpmachining)2019-06-30 17:05:23 -0400
committerPaul Hentschel (hpmachining)2019-06-30 17:05:23 -0400
commit8f6e9a772c0f202afe8d982f559a2d85dab2ce83 (patch)
tree94416ed4ba262fddd7049867db2791eb2226c6b7 /PKGBUILD
parent7921f07b07c6a65ea2e6eb9c182d6c33989ab37f (diff)
downloadaur-8f6e9a772c0f202afe8d982f559a2d85dab2ce83.tar.gz
Updated to use V8 6.8
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e82690ebe01..558240bd62f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Paul Hentschel <aur at hpminc dot com>
pkgname=camotics-git
-pkgver=r822.8d1c8fb
+pkgver=r829.a1bc453
pkgrel=1
pkgdesc="3-axis NC machining simulation software"
arch=('x86_64')
url="http://camotics.org/"
license=('GPL2')
depends=(
- 'v8-3.14'
+ 'v8-6.8'
'qt5-websockets'
'cairo'
'desktop-file-utils'
@@ -32,19 +32,14 @@ pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-prepare() {
- cd "${pkgname%-*}"
- sed -i '24 i env.Append(LINKFLAGS = os.environ.get("LDFLAGS"))' SConstruct
-}
-
build() {
cd "${pkgname%-*}"
- CBANG_HOME=/opt/cbang scons
+ CBANG_HOME=/opt/cbang scons linkflags=$LDFLAGS
}
package() {
cd "${pkgname%-*}"
- CBANG_HOME=/opt/cbang scons install install_prefix="$pkgdir/usr"
+ CBANG_HOME=/opt/cbang scons install install_prefix="$pkgdir/usr" linkflags=$LDFLAGS
install -d "$pkgdir/usr/share/${pkgname%-*}"/tpl_lib
cp -a tpl_lib/ "$pkgdir/usr/share/${pkgname%-*}"