fix: naming
This commit is contained in:
parent
340489da6d
commit
3c0a34f842
10 changed files with 16 additions and 20 deletions
core-testing
|
@ -23,23 +23,19 @@ sha256sums=('f1869e952835308ca921b96c9d2160c74ed511fcd3da6c5bd47a4e87302da67a'
|
|||
'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798'
|
||||
'0531f10303410afd7e53099e66b124ef2fd14afec9d33c4a0146793375acb6c2')
|
||||
|
||||
pkgver() {
|
||||
grep -Po "^ *VERSION \K[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+$" "${pkgname}/CMakeLists.txt"
|
||||
}
|
||||
|
||||
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