summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake2019-03-22 22:34:26 +0100
committerJake2019-03-22 22:34:26 +0100
commit5bd28dd647df52ad14351e9e6489be7049c49925 (patch)
tree9e717b65f0727b9b7af1712f8d4c55a0d7a30a6f
parent466abacadebbfc083edb309bfe1296e56e8bb9e1 (diff)
downloadaur-5bd28dd647df52ad14351e9e6489be7049c49925.tar.gz
Init git submodules
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 53c1e498815..70d7adbeed2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = hyperion.ng-git
pkgdesc = The reworked version (next generation) of Hyperion, ambient light software - PRE ALPHA
- pkgver = r1567.e438bc62
+ pkgver = r1648.91054d8d
pkgrel = 1
url = https://github.com/hyperion-project/hyperion.ng
arch = i686
@@ -10,7 +10,7 @@ pkgbase = hyperion.ng-git
arch = armv7h
arch = aarch64
license = MIT
- makedepends = cmake=3.10.3
+ makedepends = cmake
depends = libusb
depends = protobuf
depends = python
diff --git a/PKGBUILD b/PKGBUILD
index 78e2e116fc0..bee8cd7b9ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
-# Maintainer: Jake <ja.ke@posteo.de>
+# Maintainer: Jake <aur@ja-ke.tech.de>
pkgname=hyperion.ng-git
-pkgver=r1567.e438bc62
+pkgver=r1648.91054d8d
pkgrel=1
pkgdesc="The reworked version (next generation) of Hyperion, ambient light software - PRE ALPHA"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
@@ -9,7 +9,7 @@ url="https://github.com/hyperion-project/hyperion.ng"
license=('MIT')
depends=('libusb' 'protobuf' 'python' 'qt5-serialport' 'avahi')
optdepends=('xorg-server: X11 grabbing')
-makedepends=('cmake=3.10.3')
+makedepends=('cmake')
provides=("hyperion")
conflicts=('hyperion' 'hyperion-git')
backup=('etc/hyperion/config/hyperion.config.json')
@@ -23,6 +23,11 @@ pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+prepare() {
+ cd "${srcdir}/${pkgname%-git}"
+ git submodule update --init --recursive
+}
+
build() {
cd "${srcdir}/${pkgname%-git}"
@@ -40,7 +45,7 @@ package() {
cd "${srcdir}/${pkgname%-git}"
install -d ${pkgdir}/usr/bin
- install -D build/bin/* ${pkgdir}/usr/bin
+ install -D build/bin/hyperion* ${pkgdir}/usr/bin
install -d ${pkgdir}/usr/share/hyperion/webconfig
cp -r assets/webconfig ${pkgdir}/usr/share/hyperion/