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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Jun 21 18:30:27 UTC 2016


    Date: Tuesday, June 21, 2016 @ 18:30:26
  Author: bpiotrowski
Revision: 180697

upgpkg: syncthing 0.13.7-3

switch to traditional tarball, add signature verification
explicitly specify version during build (FS#49783)

Modified:
  syncthing/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-06-21 12:31:59 UTC (rev 180696)
+++ PKGBUILD	2016-06-21 18:30:26 UTC (rev 180697)
@@ -7,7 +7,7 @@
 
 pkgname=('syncthing' 'syncthing-relaysrv')
 pkgver=0.13.7
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url="http://syncthing.net/"
 license=('MPL')
@@ -14,10 +14,12 @@
 depends=('glibc')
 makedepends=('git' 'go' 'godep' 'inetutils' 'sed')
 options=('!strip')
-source=(git+https://github.com/syncthing/syncthing.git#tag=v${pkgver}
+source=(https://github.com/syncthing/syncthing/releases/download/v$pkgver/syncthing-source-v${pkgver}.tar.gz{,.asc}
         syncthing-relaysrv.sysusers
         syncthing-relaysrv.tmpfiles)
-sha1sums=('SKIP'
+validpgpkeys=('37C84554E7E0A261E4F76E1ED26E6ED000654A3E') # Syncthing Release Management
+sha1sums=('bdf89d6738f448673a8c970e65cc63997430da53'
+          'SKIP'
           'bee6e3592cef0a607058192381e0bab46b744e23'
           '5fed57ce9faa850af5fabebb76294d35b023c00b')
 
@@ -34,8 +36,8 @@
 build() {
   export GOPATH="${srcdir}" GOROOT_FINAL="/usr/bin"
   cd "${srcdir}/src/github.com/syncthing/${pkgbase}"
-  go run build.go -no-upgrade build
-  go run build.go -no-upgrade build relaysrv
+  go run build.go -no-upgrade -version v${pkgver} build
+  go run build.go -no-upgrade -version v${pkgver} build relaysrv
 }
 
 check() {



More information about the arch-commits mailing list