blob: 4b56f0cda2439ef1be8496ac72452d4bbf4cb773 (
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
33
34
35
36
37
38
39
40
|
# Maintainer: Manuel Gugger <mdgdot[at]tutanota[dot]com>
pkgname=act-runner-bin
pkgver=0.2.13
pkgrel=1
pkgdesc="A runner for Gitea Actions based on GitHub's Act"
arch=('x86_64' 'aarch64')
url="https://gitea.com/gitea/act_runner"
license=('MIT')
optdepends=('docker: for running containers')
provides=('act_runner')
conflicts=('act_runner')
source_x86_64=("https://gitea.com/gitea/act_runner/releases/download/v${pkgver}/act_runner-${pkgver}-linux-amd64.xz")
source_aarch64=("https://gitea.com/gitea/act_runner/releases/download/v${pkgver}/act_runner-${pkgver}-linux-arm64.xz")
sha256sums=('245f610f82bcb5140d9040f997332186c03a575b98cce603e39f1f0300773e3e'
'8c79246331865e9316f60837de633b46e5be47f545e35a14ba139a8e6f840c15'
'5ba0c3203cf42cb1e2b58840726b53e481fe980b8cfc24d14fba057d31d676ca'
'5f8944df92d0e5278e3a29795dfcd8bcd340bea37075627d4f9d3303cdb58607')
sha256sums_x86_64=('759821f7afc40afb9d0e55c07b7832e0fa08374e0f2b9626516156903cd632ad')
sha256sums_aarch64=('20a97de2236232fdf72c11a87fc0f6f4747a31f322e7ca7e63df83ebc17e6bf7')
source=('act_runner.service'
'act_runner.yaml'
'act_runner.sysusers'
'act_runner.tmpfiles')
package() {
if [[ $CARCH == "x86_64" ]]; then
mv act_runner-${pkgver}-linux-amd64 act_runner
elif [[ $CARCH == "aarch64" ]]; then
mv act_runner-${pkgver}-linux-arm64 act_runner
fi
install -Dm755 act_runner -t "$pkgdir/usr/bin"
install -Dm644 "$srcdir/act_runner.service" "$pkgdir/usr/lib/systemd/system/act_runner.service"
install -Dm644 "$srcdir/act_runner.yaml" "$pkgdir/etc/act_runner/act_runner.yaml"
install -Dm644 "$srcdir/act_runner.sysusers" "$pkgdir/usr/lib/sysusers.d/act_runner.conf"
install -Dm644 "$srcdir/act_runner.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/act_runner.conf"
}
|