mirror of
https://aur.archlinux.org/kopia.git
synced 2025-08-05 12:56:51 +02:00
update to 0.8.4 and added htmlui support
This commit is contained in:
6
.SRCINFO
6
.SRCINFO
@@ -1,13 +1,13 @@
|
|||||||
pkgbase = kopia
|
pkgbase = kopia
|
||||||
pkgdesc = A cross-platform backup-tool with encryption, deduplication, compression and cloud support.
|
pkgdesc = A cross-platform backup-tool with encryption, deduplication, compression and cloud support.
|
||||||
pkgver = 0.7.3
|
pkgver = 0.8.4
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://kopia.io
|
url = https://kopia.io
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = APACHE
|
license = APACHE
|
||||||
makedepends = go>=1.15
|
makedepends = go>=1.16
|
||||||
depends = glibc
|
depends = glibc
|
||||||
source = kopia-0.7.3.tar.gz::https://github.com/kopia/kopia/archive/v0.7.3.tar.gz
|
source = kopia-0.8.4.tar.gz::https://github.com/kopia/kopia/archive/refs/tags/v0.8.4.tar.gz
|
||||||
sha256sums = SKIP
|
sha256sums = SKIP
|
||||||
|
|
||||||
pkgname = kopia
|
pkgname = kopia
|
||||||
|
9
PKGBUILD
9
PKGBUILD
@@ -2,17 +2,17 @@
|
|||||||
|
|
||||||
pkgname=kopia
|
pkgname=kopia
|
||||||
pkgdesc='A cross-platform backup-tool with encryption, deduplication, compression and cloud support.'
|
pkgdesc='A cross-platform backup-tool with encryption, deduplication, compression and cloud support.'
|
||||||
pkgver=0.7.3
|
pkgver=0.8.4
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='https://kopia.io'
|
url='https://kopia.io'
|
||||||
license=('APACHE')
|
license=('APACHE')
|
||||||
depends=('glibc')
|
depends=('glibc')
|
||||||
makedepends=('go>=1.15')
|
makedepends=('go>=1.16')
|
||||||
#makedepends=('go>=1.15', 'git') # git is needed if we switch to signed git commits/tags in the future
|
#makedepends=('go>=1.15', 'git') # git is needed if we switch to signed git commits/tags in the future
|
||||||
#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#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::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/v$pkgver.tar.gz") # use unsigned tarball for now.
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/kopia/kopia/archive/refs/tags/v$pkgver.tar.gz") # use unsigned tarball for now.
|
||||||
sha256sums=('SKIP') #no checksum for tarball provided for now.
|
sha256sums=('SKIP') #no checksum for tarball provided for now.
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@@ -23,7 +23,8 @@ build() {
|
|||||||
export CGO_LDFLAGS="${LDFLAGS}"
|
export CGO_LDFLAGS="${LDFLAGS}"
|
||||||
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
|
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
|
||||||
echo "$CGO_CFLAGS \n $CGO_CPPFLAGS \n $CGO_CXXFLAGS \n $CGO_LDFLAGS"
|
echo "$CGO_CFLAGS \n $CGO_CPPFLAGS \n $CGO_CXXFLAGS \n $CGO_LDFLAGS"
|
||||||
go build
|
make html-ui
|
||||||
|
go build -tags embedhtml
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
Reference in New Issue
Block a user