update to version 0.9.8 and fixed version string

This commit is contained in:
Jens Jäschke
2021-12-28 15:13:45 +01:00
parent cac132e86c
commit 4e47164aea
2 changed files with 8 additions and 7 deletions

View File

@@ -1,13 +1,13 @@
pkgbase = kopia
pkgdesc = A cross-platform backup-tool with encryption, deduplication, compression and cloud support.
pkgver = 0.9.7
pkgver = 0.9.8
pkgrel = 1
url = https://kopia.io
arch = x86_64
license = APACHE
makedepends = go>=1.17
depends = glibc
source = kopia-0.9.7.tar.gz::https://github.com/kopia/kopia/archive/refs/tags/v0.9.7.tar.gz
sha256sums = a32538ead0867de84e89cefb24387c6dd8f150ff31ec49cb5a2fb21c543b0ee6
source = kopia-0.9.8.tar.gz::https://github.com/kopia/kopia/archive/refs/tags/v0.9.8.tar.gz
sha256sums = 855a785778442322c4ef5de7ba666879906dac7e3d6d04746f97bb4694f6c82b
pkgname = kopia

View File

@@ -2,7 +2,7 @@
pkgname=kopia
pkgdesc='A cross-platform backup-tool with encryption, deduplication, compression and cloud support.'
pkgver=0.9.7
pkgver=0.9.8
pkgrel=1
arch=('x86_64')
url='https://kopia.io'
@@ -13,7 +13,7 @@ makedepends=('go>=1.17')
#source=("$pkgname-$pkgver::git+https://github.com/kopia/kopia.git#commit=$(git rev-list -n 1 v$pkgver)?signed") # use git commit, if those are signed by a proper key in the future
#source=("$pkgname-$pkgver::git+https://github.com/kopia/kopia.git#tag=v$pkgver?signed") # use git tag, if those are signed by a proper key in the future
source=("$pkgname-$pkgver.tar.gz::https://github.com/kopia/kopia/archive/refs/tags/v$pkgver.tar.gz") # use unsigned tarball for now.
sha256sums=('a32538ead0867de84e89cefb24387c6dd8f150ff31ec49cb5a2fb21c543b0ee6')
sha256sums=('855a785778442322c4ef5de7ba666879906dac7e3d6d04746f97bb4694f6c82b')
#checksums calculated by packager, no checksums available from upstream for source tarball.
build() {
@@ -24,8 +24,9 @@ build() {
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
echo "$CGO_CFLAGS \n $CGO_CPPFLAGS \n $CGO_CXXFLAGS \n $CGO_LDFLAGS"
make html-ui
go build -tags embedhtml
#make html-ui
#go build -tags embedhtml
go build -ldflags "-X github.com/kopia/kopia/repo.BuildVersion=$pkgver-$pkgrel -X github.com/kopia/kopia/repo.BuildInfo=unofficial -X github.com/kopia/kopia/repo.BuildGitHubRepo=ARCH_USER_REPOSITORY"
}
package() {