[arch-commits] Commit in syncthing/trunk (PKGBUILD syncthing.install)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Thu Nov 5 20:19:40 UTC 2015
Date: Thursday, November 5, 2015 @ 21:19:40
Author: jlichtblau
Revision: 146051
upgpkg: syncthing 0.12.0-1 - new upstream release
Added:
syncthing/trunk/syncthing.install
Modified:
syncthing/trunk/PKGBUILD
-------------------+
PKGBUILD | 7 ++++---
syncthing.install | 12 ++++++++++++
2 files changed, 16 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-11-05 20:13:23 UTC (rev 146050)
+++ PKGBUILD 2015-11-05 20:19:40 UTC (rev 146051)
@@ -6,14 +6,15 @@
# Contributor: korjjj <korjjj+aur at gmail.com>
pkgname=syncthing
-pkgver=0.11.26
+pkgver=0.12.0
pkgrel=1
pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing"
+arch=('i686' 'x86_64')
url="http://syncthing.net/"
license=('MPL')
-arch=('i686' 'x86_64')
depends=('glibc')
makedepends=('git' 'go' 'godep' 'inetutils' 'sed')
+install=$pkgname.install
source=($pkgname-$pkgver::git+https://github.com/syncthing/syncthing.git#tag=v${pkgver})
sha1sums=('SKIP')
@@ -38,7 +39,7 @@
check() {
export GOPATH="${srcdir}"
cd "${srcdir}/src/github.com/syncthing/${pkgname}"
-# go run build.go -no-upgrade test
+ #go run build.go -no-upgrade test
}
package() {
Added: syncthing.install
===================================================================
--- syncthing.install (rev 0)
+++ syncthing.install 2015-11-05 20:19:40 UTC (rev 146051)
@@ -0,0 +1,12 @@
+post_upgrade() {
+ if (( "$(vercmp $2 0.12.0-1)" < 0 )); then
+ cat << EOF
+ This is the first release on the new major v0.12 branch. It is not
+ compatible with the v0.11.x releases! Use this release if you are
+ a new user, or when you are ready to upgrade all devices in your cluster.
+ Full information is available on the release page
+ https://forum.syncthing.net/t/syncthing-v0-12-0-beryllium-bedbug/6026
+
+EOF
+ fi
+}
More information about the arch-commits
mailing list