[arch-commits] Commit in syncthing/trunk (PKGBUILD)
Martin Wimpress
flexiondotorg at archlinux.org
Wed Sep 24 09:06:47 UTC 2014
Date: Wednesday, September 24, 2014 @ 11:06:47
Author: flexiondotorg
Revision: 119538
upgpkg: syncthing 0.9.17-2 - Fixes FS#42070
Modified:
syncthing/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-09-24 05:30:34 UTC (rev 119537)
+++ PKGBUILD 2014-09-24 09:06:47 UTC (rev 119538)
@@ -6,7 +6,7 @@
pkgname=syncthing
pkgver=0.9.17
-pkgrel=1
+pkgrel=2
pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing"
url="http://syncthing.net/"
license=('MIT')
@@ -30,21 +30,18 @@
build() {
export GOPATH="${srcdir}"
cd "${srcdir}/src/github.com/syncthing/${pkgname}"
- ./build.sh "" -tags noupgrade
+ go run build.go -no-upgrade build
}
check() {
export GOPATH="${srcdir}"
cd "${srcdir}/src/github.com/syncthing/${pkgname}"
- ./build.sh test
+ go run build.go -no-upgrade test
}
package() {
cd "${srcdir}/src/github.com/syncthing/${pkgname}"
- for FILE in bin/*; do
- BASE_FILE=$(basename ${FILE})
- install -D -m 755 bin/${BASE_FILE} "${pkgdir}/usr/bin/${BASE_FILE}"
- done
+ install -D -m 755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
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