diff --git a/gitea-act-runner/.SRCINFO b/gitea-act-runner/.SRCINFO index 67ae9a0..7f67069 100644 --- a/gitea-act-runner/.SRCINFO +++ b/gitea-act-runner/.SRCINFO @@ -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 diff --git a/gitea-act-runner/PKGBUILD b/gitea-act-runner/PKGBUILD index afbed24..a4040ff 100644 --- a/gitea-act-runner/PKGBUILD +++ b/gitea-act-runner/PKGBUILD @@ -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