From ea5bd7e4fd6dfb64dae3033165ca5165df4e5d7f Mon Sep 17 00:00:00 2001 From: leafee98 Date: Tue, 25 Jul 2023 12:09:56 +0800 Subject: [PATCH] update forgejo to 1.20.1-0 --- forgejo-bin/DEBBUILD | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/forgejo-bin/DEBBUILD b/forgejo-bin/DEBBUILD index 9b1408e..979c34c 100644 --- a/forgejo-bin/DEBBUILD +++ b/forgejo-bin/DEBBUILD @@ -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 " +_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" }