update forgejo to 1.20.1-0
All checks were successful
ci/woodpecker/push/build_bin Pipeline was successful
ci/woodpecker/push/build_other Pipeline was successful

This commit is contained in:
leafee98 2023-07-25 12:09:56 +08:00
parent c3c55ab1fc
commit ea5bd7e4fd

View file

@ -2,18 +2,19 @@
pkgname="forgejo"
pkgrel=1
pkgver="1.19.3-0"
pkgver="1.20.1-0"
pkgdesc="A painless selfhost git service."
url="https://codeberg.org/forgejo/forgejo"
maintainer="Leafee98 <me@leafee98.com>"
_arch="amd64"
source=(
"forgejo-${pkgver}-linux-amd64.xz::https://codeberg.org/attachments/8dc303a9-8a4e-416c-8d6c-62e0d3e289e8"
"forgejo-${pkgver}-linux-${_arch}.xz::https://codeberg.org/forgejo/forgejo/releases/download/v${pkgver}/forgejo-${pkgver}-linux-${_arch}.xz"
"forgejo.service::materials/forgejo.service"
)
function package {
install -Dm755 "${srcdir}/forgejo-${pkgver}-linux-amd64" "${pkgdir}/usr/bin/forgejo"
install -Dm755 "${srcdir}/forgejo-${pkgver}-linux-${_arch}" "${pkgdir}/usr/bin/forgejo"
install -Dm644 "${srcdir}/forgejo.service" "${pkgdir}/usr/lib/systemd/system/forgejo.service"
}