Package Base Details: syncthing-git

Git Clone URL: https://aur.archlinux.org/syncthing-git.git (read-only, click to copy)
Submitter: sauyon
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 17
Popularity: 0.000000
First Submitted: 2014-05-21 07:39 (UTC)
Last Updated: 2024-04-09 12:21 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

CyberGhost commented on 2018-04-09 17:04 (UTC)

Thank you @grandchild for the diff

grandchild commented on 2018-01-08 20:32 (UTC) (edited on 2018-01-08 20:32 (UTC) by grandchild)

Package only builds after these changes:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ makedepends=('git' 'go' 'godep' 'inetutils')
 conflicts=('syncthing')
 provides=('syncthing')
 arch=('i686' 'x86_64')
-source=("$pkgname-$pkgver::git+https://github.com/syncthing/syncthing.git")
+source=("$pkgname::git+https://github.com/syncthing/syncthing.git")
 sha256sums=('SKIP')
 install=${pkgname}.install
 _name=syncthing
@@ -21,7 +21,7 @@ prepare() {
 }

 pkgver() {
-   cd "${pkgname}-${pkgver}"
+   cd "${pkgname}"
    git describe --long | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
 }

@@ -29,7 +29,7 @@ build() {
    export GOPATH="${srcdir}"
    cd "${srcdir}"
    mkdir -p "src/github.com/syncthing"
-   mv "${pkgname}-${pkgver}" "src/github.com/syncthing/${_name}"
+   mv "${pkgname}" "src/github.com/syncthing/${_name}"
    cd "src/github.com/syncthing/${_name}"
    if [ ${CARCH}" == "i686" ] ; then
            go run build.go -no-upgrade -goarch 386 build

sauyon commented on 2017-02-18 21:34 (UTC)

can somebody inform me why this was flagged out of date?

xorly commented on 2016-07-28 09:41 (UTC)

prepare() moves sources and the pkgver() can't get correct version. Also, I can't see the reason to pull sources to folder with version in name.

rumpelsepp commented on 2015-06-11 20:48 (UTC)

This package is quite old: - There are official manpages now: https://github.com/syncthing/syncthing/tree/master/man - There are official systemd files now: https://github.com/syncthing/syncthing/tree/master/etc/linux-systemd - The License is MPL now: https://github.com/syncthing/syncthing/blob/master/LICENSE - Please update the SRCINFO. It does not match the PKGBUILD

xuhdev commented on 2015-05-30 21:36 (UTC)

Syncthing is now licensed under MPLv2. Can you update the PKGBUILD file?

Nothing4You commented on 2014-09-15 14:10 (UTC)

@Profpatsch as long as there are no changes that make the PKGBUILD no longer working there's no need to update the pkgver. This is a -git package, including the pkgver() function to update to the latest version locally on your machine and it fetches the latest source from git anyway

Profpatsch commented on 2014-08-28 13:28 (UTC)

0.9.9 is out.