This commit is contained in:
parent
49703433c0
commit
4cfdfade4a
18 changed files with 133 additions and 102 deletions
|
@ -6,6 +6,7 @@ pkgbase = gitea
|
|||
install = gitea.install
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
checkdepends = openssh
|
||||
makedepends = go
|
||||
makedepends = nodejs
|
||||
makedepends = npm
|
||||
|
@ -18,7 +19,7 @@ pkgbase = gitea
|
|||
optdepends = redis: Redis support
|
||||
optdepends = sqlite: SQLite support
|
||||
options = !lto
|
||||
source = https://dl.gitea.io/gitea/1.16.8/gitea-src-1.16.8.tar.gz
|
||||
source = https://github.com/go-gitea/gitea/releases/download/v1.16.8/gitea-src-1.16.8.tar.gz
|
||||
source = gitea.tmpfiles
|
||||
source = gitea.service
|
||||
source = gitea.sysusers
|
||||
|
|
|
@ -20,8 +20,9 @@ optdepends=(
|
|||
'redis: Redis support'
|
||||
'sqlite: SQLite support'
|
||||
)
|
||||
checkdepends=(openssh)
|
||||
options=(!lto)
|
||||
source=("https://dl.gitea.io/gitea/$pkgver/gitea-src-$pkgver.tar.gz"
|
||||
source=(https://github.com/go-gitea/gitea/releases/download/v${pkgver}/gitea-src-${pkgver}.tar.gz
|
||||
gitea.tmpfiles
|
||||
gitea.service
|
||||
gitea.sysusers)
|
||||
|
@ -36,15 +37,14 @@ validpgpkeys=(
|
|||
9C5BCD799B3CDB124147A748E0DDFEC24C48784C # Lauris Bukšis-Haberkorns <lauris@nix.lv>
|
||||
D8F9672D77C0BB60A024C23EDFDE60A0093EB926 # Lauris Bukšis-Haberkorns <lauris@nix.lv> new RSA4096
|
||||
BA66F67FD73F7058D712D308C3B7C91B632F738A # Lunny Xiao <xiaolunwen@gmail.com>, retrieved from https://github.com/lunny.gpg
|
||||
B5F0915813554C32C1D599C2C99B82E40B027BAE # '6543' <6543@obermui.de>
|
||||
B5F0915813554C32C1D599C2C99B82E40B027BAE # '6543' <6543@obermui.de>
|
||||
D2CF76DA95F201E9901532AB3CDE74631F13A748 # Andrew Thornton <art27@cantab.net>, retrieved from https://github.com/zeripath.gpg
|
||||
)
|
||||
install=gitea.install
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}
|
||||
# Fetch dependency using go mod
|
||||
make vendor
|
||||
make deps
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -59,6 +59,11 @@ build() {
|
|||
make -j1
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${srcdir}
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}
|
||||
install -Dm755 ${pkgname} -t "${pkgdir}"/usr/bin/
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
source ../.util.sh
|
||||
|
||||
update_github_tag go-gitea/gitea
|
||||
|
||||
[ $? -eq 0 ] && update_pkg
|
Loading…
Add table
Add a link
Reference in a new issue