extra/gitea to 1.20.2-3

This commit is contained in:
Kevin Mihelich 2023-08-12 14:51:31 +00:00
parent 132872a83a
commit 7c642b74b3
2 changed files with 6 additions and 5 deletions

View file

@ -11,7 +11,7 @@
pkgname=gitea
pkgver=1.20.2
pkgrel=1
pkgrel=3
pkgdesc="Painless self-hosted Git service, community managed."
arch=(x86_64)
url="https://gitea.io"
@ -29,13 +29,14 @@ optdepends=(
)
checkdepends=(openssh)
options=(!lto)
backup=('etc/gitea/app.ini')
_tag=5fd5233ffbb5c17f310dfbdb5a9ea9ceb2c13e2b # git rev-parse v${pkgver}
source=(git+https://github.com/go-gitea/gitea.git#tag=${_tag}
gitea.tmpfiles
gitea.service
gitea.sysusers)
sha256sums=('SKIP'
'9f63a517e8da6865fa6d9e87f6b08fe25ea56285304115e052809663c48dc3d7'
'1521fd7edc3830c695698ffe9835709f1408040b5ec989f07410972c894fa8ba'
'b16d02a9f32a17cc14dfa46a980bad795a4ed744627e6342248f60236dc2be43'
'7e7b798b8ce035c1fb55993ece41c5efb6cad5922708866804fa50ada0cf9fa5')
validpgpkeys=(
@ -84,5 +85,5 @@ package() {
install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/
install -Dm644 ${pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf
install -Dm644 ${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
install -D ${pkgname}/custom/conf/app.example.ini -t "${pkgdir}"/etc/gitea/
install -Dm644 ${pkgname}/custom/conf/app.example.ini "${pkgdir}"/etc/gitea/app.ini
}

View file

@ -6,5 +6,5 @@ d /var/lib/gitea/repos 0750
d /var/lib/gitea/tmp 0750
Z /var/lib/gitea - gitea gitea
d /var/log/gitea 0750 gitea gitea
z /etc/gitea 0755 gitea gitea
z /etc/gitea/app.ini 0600 gitea gitea
z /etc/gitea 0755 root gitea
z /etc/gitea/app.ini 0660 root gitea