fix: naming
This commit is contained in:
parent
340489da6d
commit
3c0a34f842
10 changed files with 16 additions and 20 deletions
controller-testing
|
@ -24,18 +24,18 @@ sha256sums=('8c1195f9d23edb195bf88363e066bf25dfa8b31c1f05f9be51e800ccf763ea4e'
|
|||
'5a4ce46c1302546509c0024d4614b5b0d47dde02467b7bf52b28ef6c4ead91e7')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname"
|
||||
cd "controller"
|
||||
mkdir -p "build"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname/build" || exit 1
|
||||
cd "controller/build" || exit 1
|
||||
cmake -DWIRING_PI_DEBUG=ON ..
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "${pkgname}/build/controller" "${pkgdir}/usr/bin/emgauwa-controller"
|
||||
install -Dm755 "controller/build/controller" "${pkgdir}/usr/bin/emgauwa-controller"
|
||||
|
||||
install -Dm660 "controller.ini" "${pkgdir}/etc/emgauwa/controller.ini"
|
||||
install -Dm644 "${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
|
||||
|
|
Reference in a new issue