[arch-commits] Commit in syncthing/repos/community-i686 (PKGBUILD PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sun Jul 19 21:45:39 UTC 2015
Date: Sunday, July 19, 2015 @ 23:45:38
Author: jlichtblau
Revision: 137127
archrelease: copy trunk to community-i686
Added:
syncthing/repos/community-i686/PKGBUILD
(from rev 137126, syncthing/trunk/PKGBUILD)
Deleted:
syncthing/repos/community-i686/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-07-19 21:40:27 UTC (rev 137126)
+++ PKGBUILD 2015-07-19 21:45:38 UTC (rev 137127)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer : Martin Wimpress <code at flexion.org>
-# Maintainer : Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: Sauyon Lee <sauyonl at sauyon.com>
-# Contributor: Kevin MacMartin <prurigro at gmail.com>
-# Contributor: korjjj <korjjj+aur at gmail.com>
-
-pkgname=syncthing
-pkgver=0.11.15
-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-i686/PKGBUILD (from rev 137126, syncthing/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-07-19 21:45:38 UTC (rev 137127)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+# Maintainer : Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Sauyon Lee <sauyonl at sauyon.com>
+# Contributor: Kevin MacMartin <prurigro at gmail.com>
+# Contributor: korjjj <korjjj+aur at gmail.com>
+
+pkgname=syncthing
+pkgver=0.11.16
+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
+}
More information about the arch-commits
mailing list