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