blob: 3cba354e371b83201e2091dd606046922e5f9762 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: xengineering <me@xengineering.eu>
pkgname=ceres
pkgver=0.3.0
pkgrel=1
pkgdesc="Recipe server for your favorite dishes"
arch=('x86_64' 'aarch64')
url="https://xengineering.eu/git/ceres"
license=('AGPL')
makedepends=('coreutils' 'git' 'make' 'go')
backup=('etc/ceres/config.json')
source=("https://cgit.xengineering.eu/ceres/snapshot/ceres-${pkgver}.tar.zst"
'ceres.service'
'sysuser.conf'
'ceres.tmpfile.d')
sha256sums=('e58ba399ecbe465cbcb9f0ce4fc44affed681df7aaf982c9a39a7a9dc6e9a826'
'da4b6201e9bcf2cc3ae94b274338b58abc5368d77e0df1ece578644a415d8ace'
'a8c7c3d6af65bd7255b0f693430c6ba53d646123feebec9a1e37f8723c21942b'
'5a953a802b1478dd7f7e32dbd8ac8d97946bbef0579e3cce4b87e32151855e51')
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
rm -rf "${pkgdir}/var"
install -Dm644 "${srcdir}"/ceres.service "${pkgdir}"/usr/lib/systemd/system/ceres.service
install -Dm644 "${srcdir}"/sysuser.conf "${pkgdir}"/usr/lib/sysusers.d/ceres.conf
install -Dm644 "${srcdir}"/ceres.tmpfile.d "${pkgdir}"/usr/lib/tmpfiles.d/ceres.conf
}
|