[arch-commits] Commit in restic/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sat Apr 7 14:06:25 UTC 2018


    Date: Saturday, April 7, 2018 @ 14:06:24
  Author: foxboron
Revision: 314840

upgpkg: restic 0.8.3-3

Added version number to restic #58063

Modified:
  restic/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-07 14:00:36 UTC (rev 314839)
+++ PKGBUILD	2018-04-07 14:06:24 UTC (rev 314840)
@@ -1,7 +1,7 @@
 # Maintainer: Morten Linderud <foxboron at archlinux.org>
 pkgname=restic
 pkgver=0.8.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Fast, secure, efficient backup program"
 arch=('x86_64')
 url="https://restic.net"
@@ -22,7 +22,7 @@
 build(){
   cd "${pkgname}-${pkgver}"
   export GOPATH="${srcdir}"
-  go build ./cmd/restic
+  go build -ldflags "-X 'main.version=${pkgver}'" ./cmd/restic
 }
 
 package() {



More information about the arch-commits mailing list