blob: 9a80003501c1139d9b96f05ed7403aa23a6f22f5 (
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.1
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=('d558212251c077b3420c09c6e7c57e9dff5c85173f4d9d4b00f411fa19c7005e'
'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
}
|