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

Jelle van der Waa jelle at gemini.archlinux.org
Wed Apr 27 15:50:59 UTC 2022


    Date: Wednesday, April 27, 2022 @ 15:50:59
  Author: jelle
Revision: 1191218

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-27 15:50:53 UTC (rev 1191217)
+++ PKGBUILD	2022-04-27 15:50:59 UTC (rev 1191218)
@@ -1,41 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=restic
-pkgver=0.13.1
-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=('8430f80dc17b98fd78aca6f7d635bf12a486687677e15989a891ff4f6d8490a9')
-
-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"
-  export CGO_ENABLED=0
-  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"
-  install -Dm644 doc/fish-completion.fish "$pkgdir/usr/share/fish/vendor_completions.d/restic.fish"
-}

Copied: restic/repos/community-x86_64/PKGBUILD (from rev 1191217, restic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-27 15:50:59 UTC (rev 1191218)
@@ -0,0 +1,41 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=restic
+pkgver=0.13.1
+pkgrel=2
+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=('8430f80dc17b98fd78aca6f7d635bf12a486687677e15989a891ff4f6d8490a9')
+
+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"
+  export CGO_ENABLED=0
+  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"
+  install -Dm644 doc/fish-completion.fish "$pkgdir/usr/share/fish/vendor_completions.d/restic.fish"
+}



More information about the arch-commits mailing list