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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Apr 30 17:00:11 UTC 2019


    Date: Tuesday, April 30, 2019 @ 17:00:10
  Author: bpiotrowski
Revision: 457037

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-30 17:00:04 UTC (rev 457036)
+++ PKGBUILD	2019-04-30 17:00:10 UTC (rev 457037)
@@ -1,36 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-pkgname=restic
-pkgver=0.9.4
-pkgrel=2
-pkgdesc="Fast, secure, efficient backup program"
-arch=('x86_64')
-url="https://restic.net"
-license=('BSD')
-makedepends=('go-pie')
-optdepends=('fuse2: mount archive')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/restic/restic/archive/v${pkgver}.tar.gz")
-sha256sums=('c7dca90fb6fd83cee8b9f6a2776f5839794341af1953d251bf06a91870be7a8e')
-
-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}' -extldflags ${LDFLAGS}" -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"
-
-}

Copied: restic/repos/community-x86_64/PKGBUILD (from rev 457036, restic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-30 17:00:10 UTC (rev 457037)
@@ -0,0 +1,37 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+pkgname=restic
+pkgver=0.9.5
+pkgrel=1
+pkgdesc="Fast, secure, efficient backup program"
+arch=('x86_64')
+url="https://restic.net"
+license=('BSD')
+depends=('glibc')
+makedepends=('go-pie')
+optdepends=('fuse2: mount archive')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/restic/restic/archive/v${pkgver}.tar.gz")
+sha256sums=('e22208e946ede07f56ef60c1c89de817b453967663ce4867628dff77761bd429')
+
+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}' -extldflags ${LDFLAGS}" -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"
+
+}



More information about the arch-commits mailing list