[arch-commits] Commit in restic/repos/community-x86_64 (PKGBUILD PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sun Feb 14 18:43:22 UTC 2021


    Date: Sunday, February 14, 2021 @ 18:43:22
  Author: foxboron
Revision: 860025

archrelease: copy trunk to community-x86_64

Added:
  restic/repos/community-x86_64/PKGBUILD
    (from rev 860024, restic/trunk/PKGBUILD)
Deleted:
  restic/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-14 18:43:15 UTC (rev 860024)
+++ PKGBUILD	2021-02-14 18:43:22 UTC (rev 860025)
@@ -1,39 +0,0 @@
-# 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"
-}

Copied: restic/repos/community-x86_64/PKGBUILD (from rev 860024, restic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-14 18:43:22 UTC (rev 860025)
@@ -0,0 +1,39 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=restic
+pkgver=0.12.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=('39b615a36a5082209a049cce188f0654c6435f0bc4178b7663672334594f10fe')
+
+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