diff options
author | jrudess | 2022-12-09 09:57:21 -0800 |
---|---|---|
committer | jrudess | 2022-12-09 09:57:21 -0800 |
commit | 7e4c5b1839fe2f7eb19d8e6e5bcc093fc999e916 (patch) | |
tree | 1895e0492304780eebfc81d27ec91a9b67a4a73d | |
parent | 7f036f80cfddfc664700a467f3c6d06288e25d39 (diff) | |
download | aur-7e4c5b1839fe2f7eb19d8e6e5bcc093fc999e916.tar.gz |
Fix build
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | levd.patch | 12 |
3 files changed, 15 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = levd-git pkgdesc = Daemon to control NZXT Kraken x61 pkgver = r24.cd12fdf - pkgrel = 2 + pkgrel = 3 url = https://github.com/graphcareful/levd arch = i686 arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Jordan Rudess <jrudess@gmail.com> pkgname=levd-git pkgver=r24.cd12fdf -pkgrel=1 +pkgrel=3 pkgdesc="Daemon to control NZXT Kraken x61" arch=('i686' 'x86_64') url="https://github.com/graphcareful/levd" @@ -12,7 +12,7 @@ provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") backup=("etc/leviathan/levd.cfg") install= -source=('git://github.com/graphcareful/levd.git') +source=('levd::git+https://github.com/graphcareful/levd.git') md5sums=('SKIP') pkgver() { @@ -27,7 +27,8 @@ prepare() { build() { cd "$srcdir/${pkgname%-git}/build" - cmake .. + cmake .. KRAKEN_LIB_LIBRARIES=":libsensors.so :libyaml-cpp.so :libglog.so.1 :libusb-1.0.so.0" + make } diff --git a/levd.patch b/levd.patch index 12febae2f148..2b7be42357a0 100644 --- a/levd.patch +++ b/levd.patch @@ -1,10 +1,18 @@ --- a/levd/CMakeLists.txt +++ b/levd/CMakeLists.txt -@@ -37,5 +37,5 @@ install( +@@ -10,7 +10,7 @@ set(CMAKE_CXX_FLAGS "-fmax-errors=2") + set(KRAKEN_LIB_LIBRARIES + :libsensors.so + :libyaml-cpp.so +- :libglog.so.0 ++ :libglog.so.1 + :libusb-1.0.so.0) + + # configure a header file to pass some of the CMake settings +@@ -47,5 +47,5 @@ install( FILES_MATCHING PATTERN "levd.cfg") install( DIRECTORY config/ - DESTINATION /etc/systemd/system + DESTINATION /usr/lib/systemd/system FILES_MATCHING PATTERN "levd.service") - |