[arch-commits] Commit in syncthing/trunk (PKGBUILD)
Martin Wimpress
flexiondotorg at archlinux.org
Mon Aug 4 10:42:41 UTC 2014
Date: Monday, August 4, 2014 @ 12:42:41
Author: flexiondotorg
Revision: 116841
upgpkg: syncthing 0.9.0-1 - New upstream release.
Modified:
syncthing/trunk/PKGBUILD
----------+
PKGBUILD | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-08-04 10:36:02 UTC (rev 116840)
+++ PKGBUILD 2014-08-04 10:42:41 UTC (rev 116841)
@@ -6,7 +6,7 @@
_pkgstamp=$(date +%s)
pkgname=syncthing
-pkgver=0.8.21
+pkgver=0.9.0
pkgrel=1
pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing"
url="http://syncthing.net/"
@@ -17,7 +17,7 @@
source=("https://github.com/calmh/${pkgname}/archive/v${pkgver}.tar.gz"
"syncthing at .service"
"syncthing.1")
-sha1sums=('396ab88b774f29120d54a79bd7ddf5ae87755a2b'
+sha1sums=('14e510dcc146f29230cc6c3545c9f83db0e82d81'
'204cad3823306c793a14a17a23220e26199160d4'
'17be8b3f99c577e325765abc251f597e204d7711')
install=${pkgname}.install
@@ -24,28 +24,28 @@
prepare() {
cd "${srcdir}"
- mkdir -p "src/github.com/calmh"
- mv "${pkgname}-${pkgver}" "src/github.com/calmh/${pkgname}"
+ mkdir -p "src/github.com/syncthing"
+ mv "${pkgname}-${pkgver}" "src/github.com/syncthing/${pkgname}"
# Patch the build variables that require a git clone
- sed -i -e "s/^version=.*/version=v\"${pkgver}\"/" "${srcdir}/src/github.com/calmh/${pkgname}/build.sh"
- sed -i -e "s/^date=.*/date=\"${_pkgstamp}\"/" "${srcdir}/src/github.com/calmh/${pkgname}/build.sh"
+ sed -i -e "s/^version=.*/version=v\"${pkgver}\"/" "${srcdir}/src/github.com/syncthing/${pkgname}/build.sh"
+ sed -i -e "s/^date=.*/date=\"${_pkgstamp}\"/" "${srcdir}/src/github.com/syncthing/${pkgname}/build.sh"
}
build() {
export GOPATH="${srcdir}"
- cd "${srcdir}/src/github.com/calmh/${pkgname}"
- ./build.sh
+ cd "${srcdir}/src/github.com/syncthing/${pkgname}"
+ ./build.sh "" -tags noupgrade
}
-check() {
- export GOPATH="${srcdir}"
- cd "${srcdir}/src/github.com/calmh/${pkgname}"
- ./build.sh test
-}
+#check() {
+# export GOPATH="${srcdir}"
+# cd "${srcdir}/src/github.com/syncthing/${pkgname}"
+# ./build.sh test
+#}
package() {
- cd "${srcdir}/src/github.com/calmh/${pkgname}"
- install -D -m 755 syncthing "${pkgdir}/usr/bin/syncthing"
+ cd "${srcdir}/src/github.com/syncthing/${pkgname}"
+ install -D -m 755 bin/syncthing "${pkgdir}/usr/bin/syncthing"
install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
install -D -m 644 "${srcdir}/${pkgname}@.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}@.service"
More information about the arch-commits
mailing list