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