update to v0.4.0

This commit is contained in:
6543 2020-07-23 20:51:40 +02:00
parent 9a71486e34
commit 849afd88bf
Signed by: 6543
GPG Key ID: A1CA74D27FD13271
3 changed files with 13 additions and 9 deletions

View File

@ -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


5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
pkg/
src/

*.tar.gz
*.tar.xz

View File

@ -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() {