From 849afd88bffda1e2a89df3103e9eeafabb8a2cf0 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 23 Jul 2020 20:51:40 +0200 Subject: [PATCH] update to v0.4.0 --- .SRCINFO | 6 +++--- .gitignore | 5 +++++ PKGBUILD | 11 +++++------ 3 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 .gitignore diff --git a/.SRCINFO b/.SRCINFO index 06ed6b6..3c7b9f9 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,13 @@ pkgbase = gitea-tea pkgdesc = Painless self-hosted Git service.. - pkgver = 0.3.1 + pkgver = 0.4.0 pkgrel = 1 url = https://gitea.io arch = x86_64 license = MIT makedepends = go-pie - source = git+https://gitea.com/gitea/tea.git#tag=v0.3.1 - sha256sums = SKIP + source = https://gitea.com/gitea/tea/archive/v0.4.0.tar.gz + sha256sums = 689b67fac6200846633c66aa0a687371b20aa85a5d2d338a4e8f5f51b44d1b32 pkgname = gitea-tea diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..27fd499 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +pkg/ +src/ + +*.tar.gz +*.tar.xz diff --git a/PKGBUILD b/PKGBUILD index 5d48d42..c5a5505 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,21 +2,20 @@ pkgname=gitea-tea _pkgname=tea -pkgver=0.3.1 +pkgver=0.4.0 pkgrel=1 pkgdesc="Painless self-hosted Git service.." arch=(x86_64) url="https://gitea.io" license=(MIT) makedepends=(go-pie) -source=("git+https://gitea.com/gitea/tea.git#tag=v${pkgver}") -sha256sums=(SKIP) +source=("https://gitea.com/gitea/tea/archive/v${pkgver}.tar.gz") +sha256sums=('689b67fac6200846633c66aa0a687371b20aa85a5d2d338a4e8f5f51b44d1b32') build() { cd ${_pkgname} - go build -mod=vendor \ - -trimpath \ - -ldflags "-extldflags $LDFLAGS" . + export TEA_VERSION=v${pkgver} + make } package() {