2020-06-15 16:18:52 +00:00
|
|
|
# Maintainer: Tobias Reisinger <tobias@msrg.cc>
|
2020-06-15 20:47:45 +00:00
|
|
|
pkgname=emgauwa-core-testing
|
2020-06-15 16:18:52 +00:00
|
|
|
pkgver=0.0.1
|
|
|
|
pkgrel=1
|
|
|
|
epoch=
|
2020-06-15 20:47:45 +00:00
|
|
|
pkgdesc=""
|
2020-06-15 16:18:52 +00:00
|
|
|
arch=('any')
|
2020-06-15 20:47:45 +00:00
|
|
|
url="https://git.serguzim.me/emgauwa/core"
|
2020-06-15 16:18:52 +00:00
|
|
|
license=('unknown')
|
|
|
|
groups=()
|
|
|
|
depends=('glibc' 'sqlite')
|
|
|
|
makedepends=('make' 'cmake' 'gcc')
|
2020-06-15 20:47:45 +00:00
|
|
|
conflicts=('emgauwa-core')
|
2020-06-15 16:18:52 +00:00
|
|
|
backup=('etc/emgauwa/core.ini')
|
2020-06-15 20:47:45 +00:00
|
|
|
source=("https://ci.serguzim.me/archive/emgauwa-core/latest/$pkgname.tar.gz"
|
|
|
|
"core.ini"
|
|
|
|
"emgauwa-core-testing.service"
|
|
|
|
"emgauwa-core-testing.sysusers"
|
|
|
|
"emgauwa-core-testing.tmpfiles")
|
|
|
|
sha256sums=("SKIP"
|
|
|
|
"e6089a8730c1a24b8c3c78082e9ffa96551cfc712eb1a8da7c544b8899eee14d"
|
|
|
|
"c781f4d50da8e158551a47a8549981dad05faaf2d632c4fde8b36b48474ab0ec"
|
|
|
|
"b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798"
|
|
|
|
"0531f10303410afd7e53099e66b124ef2fd14afec9d33c4a0146793375acb6c2")
|
2020-06-15 16:18:52 +00:00
|
|
|
|
|
|
|
prepare() {
|
2020-06-15 20:47:45 +00:00
|
|
|
cd "$pkgname"
|
|
|
|
mkdir -p "build"
|
2020-06-15 16:18:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2020-06-15 20:47:45 +00:00
|
|
|
cd "$pkgname/build" || exit 1
|
|
|
|
cmake ..
|
|
|
|
make
|
2020-06-15 16:18:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-06-15 20:47:45 +00:00
|
|
|
install -Dm755 "${pkgname}/build/core" "${pkgdir}/usr/bin/emgauwa-core"
|
|
|
|
|
|
|
|
install -Dm644 "core.ini" "${pkgdir}/etc/emgauwa/core.ini"
|
|
|
|
install -Dm644 "${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
|
|
|
|
install -Dm644 "${pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
|
|
|
|
install -Dm644 "${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
|
|
|
|
|
|
|
|
install -Ddm644 "${pkgdir}/var/lib/emgauwa/core"
|
2020-06-15 16:18:52 +00:00
|
|
|
}
|