Date: Saturday, August 11, 2018 @ 19:32:16
  Author: foxboron
Revision: 371181

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-08-11 19:31:53 UTC (rev 371180)
+++ PKGBUILD    2018-08-11 19:32:16 UTC (rev 371181)
@@ -1,35 +0,0 @@
-# Maintainer: Morten Linderud <foxbo...@archlinux.org>
-pkgname=restic
-pkgver=0.9.1
-pkgrel=1
-pkgdesc="Fast, secure, efficient backup program"
-arch=('x86_64')
-url="https://restic.net";
-license=('BSD')
-makedepends=('go-pie')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/restic/restic/archive/v${pkgver}.tar.gz";)
-sha256sums=('359d3b8e555a9952f2b98c81ee3dbec8dc441e12789c436ca564762aaacec095')
-
-prepare(){
-  export GOPATH="${srcdir}"
-  mkdir -p src
-  mv "${pkgname}-${pkgver}"/vendor/* src/
-  mkdir -p src/github.com/restic
-  ln -rTsf "${pkgname}-${pkgver}" src/github.com/restic/restic
-}
-
-build(){
-  cd "${pkgname}-${pkgver}"
-  export GOPATH="${srcdir}"
-  go build -ldflags "-X 'main.version=${pkgver}'" ./cmd/restic
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -Dm755 restic "${pkgdir}/usr/bin/restic"
-  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 371180, 
restic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-08-11 19:32:16 UTC (rev 371181)
@@ -0,0 +1,35 @@
+# Maintainer: Morten Linderud <foxbo...@archlinux.org>
+pkgname=restic
+pkgver=0.9.2
+pkgrel=1
+pkgdesc="Fast, secure, efficient backup program"
+arch=('x86_64')
+url="https://restic.net";
+license=('BSD')
+makedepends=('go-pie')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/restic/restic/archive/v${pkgver}.tar.gz";)
+sha256sums=('8f8eee3e9651b9f7384a323ba3c26a5667a6388ab2ef8e6d869d3cd69b9f7c95')
+
+prepare(){
+  export GOPATH="${srcdir}"
+  mkdir -p src/github.com/restic
+  #mv "${pkgname}-${pkgver}"/vendor/* src/
+  ln -rTsf "${pkgname}-${pkgver}" src/github.com/restic/restic
+}
+
+build(){
+  cd "src/github.com/restic/restic"
+  export GOPATH="${srcdir}"
+  go install -ldflags "-X 'main.version=${pkgver}'" -gcflags 
"all=-trimpath=${GOPATH}" -asmflags "all=-trimpath=${GOPATH}" ./cmd/...
+}
+
+package() {
+  install -Dm755 bin/restic "${pkgdir}/usr/bin/restic"
+
+  cd "${pkgname}-${pkgver}"
+  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"
+
+}

Reply via email to