Update PKGBUILD for controller

This commit is contained in:
Tobias Reisinger 2023-05-27 00:57:45 +02:00
parent 6b554d3516
commit 72eeeff1f4
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -1,15 +1,15 @@
# Maintainer: Tobias Reisinger <tobias@msrg.cc> # Maintainer: Tobias Reisinger <tobias@msrg.cc>
pkgname=emgauwa-controller pkgname=emgauwa-controller
pkgver=0.3.7 pkgver=0.3.8
pkgrel=1 pkgrel=1
epoch= epoch=
pkgdesc="" pkgdesc='Emgauwa is a tool to schedule and manage relays.'
arch=('amd64' 'armhf' 'armel' 'arm64') arch=('amd64' 'armhf' 'armel' 'arm64')
url="https://git.serguzim.me/emgauwa/controller" url="https://git.serguzim.me/emgauwa/controller"
license=('unknown') license=('unknown')
groups=() groups=()
depends=('libsqlite3-0' 'uuid' 'wiringpi') depends=('libsqlite3-0' 'uuid')
makedepends=('make' 'cmake' 'gcc' 'xxd' 'libsqlite3-dev' 'uuid-dev' 'libwiringpi-dev') makedepends=('make' 'cmake' 'gcc' 'xxd' 'libsqlite3-dev' 'uuid-dev')
conflicts=('emgauwa-controller-testing') conflicts=('emgauwa-controller-testing')
backup=('/etc/emgauwa/controller.ini') backup=('/etc/emgauwa/controller.ini')
source=("https://git.serguzim.me/emgauwa/controller/archive/v$pkgver.tar.gz" source=("https://git.serguzim.me/emgauwa/controller/archive/v$pkgver.tar.gz"
@ -24,12 +24,13 @@ sha256sums=('569acded9108ebf0e8c8fc5dcd0b27e8872d63b5cdf07b3e960f97bd996e8827'
'e62f47b41f0c4f116007ca0e05e0a50b45446763ccfa91b946b9d451c83ff5b4') 'e62f47b41f0c4f116007ca0e05e0a50b45446763ccfa91b946b9d451c83ff5b4')
prepare() { prepare() {
cd "controller" cd "./controller"
mkdir -p "build" rm -rf "./build"
mkdir -p "./build"
} }
build() { build() {
cd "controller/build" || exit 1 cd "./controller/build" || exit 1
cmake .. cmake ..
make make
} }