[arch-commits] Commit in restic/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Thu Nov 5 17:44:55 UTC 2020
Date: Thursday, November 5, 2020 @ 17:44:54
Author: foxboron
Revision: 743349
archrelease: copy trunk to community-x86_64
Added:
restic/repos/community-x86_64/PKGBUILD
(from rev 743348, restic/trunk/PKGBUILD)
Deleted:
restic/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-05 17:44:47 UTC (rev 743348)
+++ PKGBUILD 2020-11-05 17:44:54 UTC (rev 743349)
@@ -1,39 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=restic
-pkgver=0.10.0
-pkgrel=1
-pkgdesc="Fast, secure, efficient backup program"
-arch=('x86_64')
-url="https://restic.net"
-license=('BSD')
-depends=('glibc')
-makedepends=('go' 'git')
-checkdepends=('fuse2')
-optdepends=('fuse2: mount archive')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/restic/restic/archive/v${pkgver}.tar.gz")
-sha256sums=('067fbc0cf0eee4afdc361e12bd03b266e80e85a726647e53709854ec142dd94e')
-
-build(){
- cd "${pkgname}-${pkgver}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
- go build -ldflags "-X 'main.version=${pkgver}'" ./cmd/...
-}
-
-check(){
- cd "${pkgname}-${pkgver}"
- go test ./cmd/... ./internal/... || true
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- install -Dm755 restic "${pkgdir}/usr/bin/restic"
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm644 -t "$pkgdir/usr/share/man/man1/" doc/man/*.1
- install -Dm644 doc/zsh-completion.zsh "$pkgdir/usr/share/zsh/site-functions/_restic"
- install -Dm644 doc/bash-completion.sh "$pkgdir/usr/share/bash-completion/completions/restic"
-}
Copied: restic/repos/community-x86_64/PKGBUILD (from rev 743348, restic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-05 17:44:54 UTC (rev 743349)
@@ -0,0 +1,39 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=restic
+pkgver=0.11.0
+pkgrel=1
+pkgdesc="Fast, secure, efficient backup program"
+arch=('x86_64')
+url="https://restic.net"
+license=('BSD')
+depends=('glibc')
+makedepends=('go' 'git')
+checkdepends=('fuse2')
+optdepends=('fuse2: mount archive')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/restic/restic/archive/v${pkgver}.tar.gz")
+sha256sums=('73cf434ec93e2e20aa3d593dc5eacb221a71d5ae0943ca59bdffedeaf238a9c6')
+
+build(){
+ cd "${pkgname}-${pkgver}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
+ go build -ldflags "-X 'main.version=${pkgver}'" ./cmd/...
+}
+
+check(){
+ cd "${pkgname}-${pkgver}"
+ go test ./cmd/... ./internal/... || true
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ install -Dm755 restic "${pkgdir}/usr/bin/restic"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 -t "$pkgdir/usr/share/man/man1/" doc/man/*.1
+ install -Dm644 doc/zsh-completion.zsh "$pkgdir/usr/share/zsh/site-functions/_restic"
+ install -Dm644 doc/bash-completion.sh "$pkgdir/usr/share/bash-completion/completions/restic"
+}
More information about the arch-commits
mailing list