feat: update gitea-act-runner use git
This commit is contained in:
parent
f8a3a0c361
commit
c98e56db69
2 changed files with 10 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
pkgbase = gitea-act-runner
|
||||
pkgdesc = A runner for Gitea based on act.
|
||||
pkgver = 0.0.2
|
||||
pkgver = r148.c9e076d
|
||||
pkgrel = 1
|
||||
url = https://gitea.io
|
||||
arch = x86_64
|
||||
|
@ -8,11 +8,11 @@ pkgbase = gitea-act-runner
|
|||
makedepends = go
|
||||
makedepends = git
|
||||
options = !lto
|
||||
source = https://nyyu.dev/sources/act_runner-main.tar.gz
|
||||
source = git+https://gitea.com/gitea/act_runner.git
|
||||
source = gitea-act-runner.service
|
||||
source = gitea-act-runner.sysusers
|
||||
source = gitea-act-runner.tmpfiles
|
||||
sha256sums = 03da58d18c1caa0a3608c038a65a14b77197037ac427b0ca96c3db943337eb40
|
||||
sha256sums = SKIP
|
||||
sha256sums = 50691e625cb8ecc54b2014ca23d75355ffc40c26537e1fc17acea3a94b66d10d
|
||||
sha256sums = 2a59d9fb29fc93c14bce7a8c34f454a44e5a84e0eebaa60fea00b74961dd82d6
|
||||
sha256sums = 93bf08efe2c7c669ee3a15fb281cc004441ddb6c60bdda9237cfd0ebd29113d1
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
pkgname=gitea-act-runner
|
||||
pkgver=0.0.2
|
||||
pkgver=r148.c9e076d
|
||||
pkgrel=1
|
||||
pkgdesc="A runner for Gitea based on act."
|
||||
arch=(x86_64)
|
||||
|
@ -7,20 +7,19 @@ url="https://gitea.io"
|
|||
license=(MIT)
|
||||
makedepends=(go git)
|
||||
options=(!lto)
|
||||
source=(#git+https://gitea.com/gitea/act_runner.git
|
||||
https://nyyu.dev/sources/act_runner-main.tar.gz
|
||||
source=(git+https://gitea.com/gitea/act_runner.git
|
||||
gitea-act-runner.service
|
||||
gitea-act-runner.sysusers
|
||||
gitea-act-runner.tmpfiles)
|
||||
sha256sums=('03da58d18c1caa0a3608c038a65a14b77197037ac427b0ca96c3db943337eb40'
|
||||
sha256sums=('SKIP'
|
||||
'50691e625cb8ecc54b2014ca23d75355ffc40c26537e1fc17acea3a94b66d10d'
|
||||
'2a59d9fb29fc93c14bce7a8c34f454a44e5a84e0eebaa60fea00b74961dd82d6'
|
||||
'93bf08efe2c7c669ee3a15fb281cc004441ddb6c60bdda9237cfd0ebd29113d1')
|
||||
|
||||
#pkgver() {
|
||||
# cd act_runner
|
||||
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
|
||||
#}
|
||||
pkgver() {
|
||||
cd act_runner
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/act_runner
|
||||
|
|
Loading…
Add table
Reference in a new issue