summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIanDury2016-04-11 22:08:16 +0200
committerIanDury2016-04-11 22:08:16 +0200
commit053144bec29e24ffff789874fb5288d75d555050 (patch)
tree88d33c319b084066589e66b33ed49076b58340a0
parentf7489a90b041968fd2f87c4d160f293aab8f006e (diff)
downloadaur-053144bec29e24ffff789874fb5288d75d555050.tar.gz
Use -DUSE_STATIC_OPENZWAVE=NO instead of sed line
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 3 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5572dd3b23b..2a545718897 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Mon Feb 8 21:17:31 UTC 2016
pkgbase = domoticz-git
pkgdesc = Web based home automation
- pkgver = r4506
+ pkgver = r5051
pkgrel = 1
url = http://www.domoticz.com
install = domoticz-git.install
diff --git a/PKGBUILD b/PKGBUILD
index 781bde9de06..d2a2f47fd66 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=domoticz-git
_gitname="domoticz"
-pkgver=r4506
+pkgver=r5051
pkgrel=1
pkgdesc="Web based home automation"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
@@ -24,11 +24,7 @@ pkgver() {
build() {
cd $_gitname
-
- # Dynamicly link to libopenzwave instead of static link
- sed -i 's/find_library(OpenZWave NAMES libopenzwave.a HINTS "..\/open-zwave-read-only" "..\/open-zwave-read-only\/cpp\/build")/find_library(OpenZWave NAMES libopenzwave.so)/' CMakeLists.txt
-
- cmake -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
+ cmake -DCMAKE_BUILD_TYPE=Release -DUSE_STATIC_OPENZWAVE=NO CMakeLists.txt
}
package() {