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-12-31 00:46:58 +00:00
|
|
|
pkgver=0.4.4
|
2020-11-21 14:53:22 +00:00
|
|
|
pkgrel=1
|
2020-06-15 16:18:52 +00:00
|
|
|
epoch=
|
2020-06-15 20:47:45 +00:00
|
|
|
pkgdesc=""
|
2020-08-17 10:41:26 +00:00
|
|
|
arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
|
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=()
|
2020-11-19 22:44:31 +00:00
|
|
|
depends=('sqlite')
|
2020-07-16 22:45:35 +00:00
|
|
|
makedepends=('make' 'cmake' 'gcc' 'vim')
|
2020-06-15 20:47:45 +00:00
|
|
|
conflicts=('emgauwa-core')
|
2020-11-19 16:00:32 +00:00
|
|
|
backup=('etc/emgauwa/core.conf')
|
2020-06-30 22:47:21 +00:00
|
|
|
source=("https://git.serguzim.me/emgauwa/core/archive/testing-v$pkgver.tar.gz"
|
2020-11-19 16:00:32 +00:00
|
|
|
"core.conf"
|
2020-06-15 20:47:45 +00:00
|
|
|
"emgauwa-core-testing.service"
|
|
|
|
"emgauwa-core-testing.sysusers"
|
|
|
|
"emgauwa-core-testing.tmpfiles")
|
2020-12-31 00:46:58 +00:00
|
|
|
sha256sums=('8de454c3622535787b90399388b540a83868cb0d45f2faf17676bc856911b60b'
|
2020-11-19 16:00:32 +00:00
|
|
|
'ac9cb03e0aee8cc7253f25f6c950936fb8195e450d38c2b369325038d3294d93'
|
|
|
|
'541f0c83d883416eec015b5d47061c221ba2aa1ea5683b78a0aaa32145b955e3'
|
2020-06-30 22:47:21 +00:00
|
|
|
'b9cde58b9e9b0605ca4a1eddd78067c55aa3c8d40f80cde0a25c4da9f6f95798'
|
2020-11-19 18:58:55 +00:00
|
|
|
'6ba73fc7f6eed099697db53bc68e65d7592bd761933b580996f801070cbc809c')
|
2020-06-15 16:18:52 +00:00
|
|
|
|
|
|
|
prepare() {
|
2020-07-01 21:39:09 +00:00
|
|
|
cd "core"
|
2020-06-15 20:47:45 +00:00
|
|
|
mkdir -p "build"
|
2020-06-15 16:18:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2020-07-01 21:39:09 +00:00
|
|
|
cd "core/build" || exit 1
|
2020-06-15 20:47:45 +00:00
|
|
|
cmake ..
|
|
|
|
make
|
2020-06-15 16:18:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-07-01 21:39:09 +00:00
|
|
|
install -Dm755 "core/build/core" "${pkgdir}/usr/bin/emgauwa-core"
|
2020-06-15 20:47:45 +00:00
|
|
|
|
2020-11-19 16:00:32 +00:00
|
|
|
install -Ddm750 "${pkgdir}/etc/emgauwa/"
|
|
|
|
install -Ddm750 "${pkgdir}/etc/emgauwa/core.conf.d/"
|
|
|
|
|
|
|
|
install -Dm660 "core.conf" "${pkgdir}/etc/emgauwa/core.conf"
|
|
|
|
|
|
|
|
install -Ddm750 "${pkgdir}/var/lib/emgauwa"
|
|
|
|
install -Ddm750 "${pkgdir}/var/lib/emgauwa/core/"
|
|
|
|
|
2020-06-15 20:47:45 +00:00
|
|
|
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"
|
2020-06-15 16:18:52 +00:00
|
|
|
}
|