Date: Monday, June 15, 2015 @ 21:07:58 Author: jlichtblau Revision: 135441
archrelease: copy trunk to community-x86_64 Added: syncthing/repos/community-x86_64/PKGBUILD (from rev 135440, syncthing/trunk/PKGBUILD) Deleted: syncthing/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 130 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 65 insertions(+), 65 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-06-15 19:07:29 UTC (rev 135440) +++ PKGBUILD 2015-06-15 19:07:58 UTC (rev 135441) @@ -1,65 +0,0 @@ -# $Id$ -# Maintainer : Martin Wimpress <c...@flexion.org> -# Maintainer : Jaroslav Lichtblau <svetlemo...@archlinux.org> -# Contributor: Sauyon Lee <sauy...@sauyon.com> -# Contributor: Kevin MacMartin <pruri...@gmail.com> -# Contributor: korjjj <korjjj+...@gmail.com> - -pkgname=syncthing -pkgver=0.11.8 -pkgrel=1 -pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing" -url="http://syncthing.net/" -license=('MPL') -arch=('i686' 'x86_64') -depends=('glibc') -makedepends=('git' 'go' 'godep' 'inetutils' 'sed') -source=($pkgname-$pkgver::git+https://github.com/syncthing/syncthing.git#tag=v${pkgver}) -sha1sums=('SKIP') - -prepare() { - cd "${srcdir}" - mkdir -p "src/github.com/syncthing" - mv "${pkgname}-${pkgver}" "src/github.com/syncthing/${pkgname}" -} - -build() { - export GOPATH="${srcdir}" - cd "${srcdir}/src/github.com/syncthing/${pkgname}" - 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() { - export GOPATH="${srcdir}" - cd "${srcdir}/src/github.com/syncthing/${pkgname}" -# go run build.go -no-upgrade test -} - -package() { - cd "${srcdir}/src/github.com/syncthing/${pkgname}" - install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}" - install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" - install -Dm644 "etc/linux-systemd/system/${pkgname}@.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}@.service" - install -Dm644 "etc/linux-systemd/user/${pkgname}.service" "${pkgdir}/usr/lib/systemd/user/${pkgname}.service" - -# license - install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE - -# man pages - cd "${srcdir}/src/github.com/syncthing/${pkgname}/man" - for file in $(find . -name '*.1' -print); do - install -Dm644 $file "${pkgdir}"/usr/share/man/man1/$file - done - for file in $(find . -name '*.5' -print); do - install -Dm644 $file "${pkgdir}"/usr/share/man/man5/$file - done - for file in $(find . -name '*.7' -print); do - install -Dm644 $file "${pkgdir}"/usr/share/man/man7/$file - done -} Copied: syncthing/repos/community-x86_64/PKGBUILD (from rev 135440, syncthing/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-06-15 19:07:58 UTC (rev 135441) @@ -0,0 +1,65 @@ +# $Id$ +# Maintainer : Martin Wimpress <c...@flexion.org> +# Maintainer : Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: Sauyon Lee <sauy...@sauyon.com> +# Contributor: Kevin MacMartin <pruri...@gmail.com> +# Contributor: korjjj <korjjj+...@gmail.com> + +pkgname=syncthing +pkgver=0.11.9 +pkgrel=1 +pkgdesc="Open Source Continuous Replication / Cluster Synchronization Thing" +url="http://syncthing.net/" +license=('MPL') +arch=('i686' 'x86_64') +depends=('glibc') +makedepends=('git' 'go' 'godep' 'inetutils' 'sed') +source=($pkgname-$pkgver::git+https://github.com/syncthing/syncthing.git#tag=v${pkgver}) +sha1sums=('SKIP') + +prepare() { + cd "${srcdir}" + mkdir -p "src/github.com/syncthing" + mv "${pkgname}-${pkgver}" "src/github.com/syncthing/${pkgname}" +} + +build() { + export GOPATH="${srcdir}" + cd "${srcdir}/src/github.com/syncthing/${pkgname}" + 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() { + export GOPATH="${srcdir}" + cd "${srcdir}/src/github.com/syncthing/${pkgname}" +# go run build.go -no-upgrade test +} + +package() { + cd "${srcdir}/src/github.com/syncthing/${pkgname}" + install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" + install -Dm644 "etc/linux-systemd/system/${pkgname}@.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}@.service" + install -Dm644 "etc/linux-systemd/user/${pkgname}.service" "${pkgdir}/usr/lib/systemd/user/${pkgname}.service" + +# license + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE + +# man pages + cd "${srcdir}/src/github.com/syncthing/${pkgname}/man" + for file in $(find . -name '*.1' -print); do + install -Dm644 $file "${pkgdir}"/usr/share/man/man1/$file + done + for file in $(find . -name '*.5' -print); do + install -Dm644 $file "${pkgdir}"/usr/share/man/man5/$file + done + for file in $(find . -name '*.7' -print); do + install -Dm644 $file "${pkgdir}"/usr/share/man/man7/$file + done +}