Update PKGBUILD for controller
This commit is contained in:
		
							parent
							
								
									6b554d3516
								
							
						
					
					
						commit
						72eeeff1f4
					
				
					 1 changed files with 8 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -1,15 +1,15 @@
 | 
			
		|||
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
 | 
			
		||||
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
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue