Date: Monday, June 8, 2015 @ 17:30:53 Author: flexiondotorg Revision: 134978
upgpkg: syncthing 0.11.8-1 - New upstream release. Fixes #45036. Modified: syncthing/trunk/PKGBUILD ----------+ PKGBUILD | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-06-08 15:17:53 UTC (rev 134977) +++ PKGBUILD 2015-06-08 15:30:53 UTC (rev 134978) @@ -6,11 +6,11 @@ # Contributor: korjjj <korjjj+...@gmail.com> pkgname=syncthing -pkgver=0.11.7 -pkgrel=2 +pkgver=0.11.8 +pkgrel=1 pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing" url="http://syncthing.net/" -license=('MPLv2') +license=('MPL') arch=('i686' 'x86_64') depends=('glibc') makedepends=('git' 'go' 'godep' 'inetutils' 'sed') @@ -26,7 +26,13 @@ build() { export GOPATH="${srcdir}" cd "${srcdir}/src/github.com/syncthing/${pkgname}" - go run build.go -no-upgrade build + if [ ${CARCH}" == "i686" ] ; then + go run build.go -no-upgrade -goarch 386 build + if [ ${CARCH}" == "x86_64" ] ; then + go run build.go -no-upgrade -goarch amd64 build + else + go run build.go -no-upgrade build + fi } check() {