summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9088d28ecf08ed2cd2b2d75e6319278060d75665 (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
# Maintainer: picokan <todaysoracvle@protonmail.com>

pkgname=immich-runit
pkgver=20241118
pkgrel=1
pkgdesc="Runit service script for immich."
arch=("any")
url="https://github.com/immich-app/immich"
license=("MIT")
depends=("immich-server" "runit")
source=("immich-server.run" "immich-mchn-learning.run" "immich-server.log.run"
    "immich-mchn-learning.log.run" "immich-server.finish")
sha256sums=(6ee0bec94ff5abe9737cbe2b47a0320594a792e8c474eed3530dba06168285f3 
    c4b1430223f94a125641a3fd898b06aac777c22b74803409dd314d2adc3697e7
    05ba3babe01cd51841631a606f67736397854167f0c828bb1346d17d904f84a9
    fd5a93f8d5db75c5cac1c7b5ce5b786ff3bb2b276e829a9a8c901124dbc9e28f
    a79e9fffb0eb748ce306638a41d5fb023cde34d5407579fbf5976568040e9f11)

package() {
	cd "$srcdir"
	install -Dm755 immich-server.run "$pkgdir/etc/runit/sv/immich-server/run"
	install -Dm755 immich-server.log.run "$pkgdir/etc/runit/sv/immich-server/log/run"
	install -Dm755 immich-mchn-learning.run "$pkgdir/etc/runit/sv/immich-mchn-learning/run"
	install -Dm755 immich-mchn-learning.log.run "$pkgdir/etc/runit/sv/immich-mchn-learning/log/run"
	install -Dm755 immich-server.finish "$pkgdir/etc/runit/sv/immich-server/finish"
}