[arch-commits] Commit in syncthing-inotify/repos (4 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Tue May 17 19:52:52 UTC 2016
Date: Tuesday, May 17, 2016 @ 21:52:52
Author: jlichtblau
Revision: 175573
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
syncthing-inotify/repos/community-staging-i686/
syncthing-inotify/repos/community-staging-i686/PKGBUILD
(from rev 175572, syncthing-inotify/trunk/PKGBUILD)
syncthing-inotify/repos/community-staging-x86_64/
syncthing-inotify/repos/community-staging-x86_64/PKGBUILD
(from rev 175572, syncthing-inotify/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 43 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 43 ++++++++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
Copied: syncthing-inotify/repos/community-staging-i686/PKGBUILD (from rev 175572, syncthing-inotify/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-05-17 19:52:52 UTC (rev 175573)
@@ -0,0 +1,43 @@
+# $Id: PKGBUILD 175562 2016-05-17 18:55:05Z jlichtblau $
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Stefan Tatschner <stefan at sevenbyte.org>
+
+pkgname=syncthing-inotify
+pkgver=0.8
+pkgrel=1
+pkgdesc="Inotify file watcher for Syncthing"
+url="https://github.com/syncthing/syncthing-inotify"
+license=('MPL')
+arch=('i686' 'x86_64')
+depends=('syncthing>=0.13')
+makedepends=('git' 'go' 'godep')
+source=("$pkgname-$pkgver::git+https://github.com/syncthing/syncthing-inotify.git#tag=v${pkgver}")
+sha256sums=('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}"
+ go get
+ go build
+}
+
+check() {
+ export GOPATH="${srcdir}"
+ cd "${srcdir}/src/github.com/syncthing/${pkgname}"
+# go test
+}
+
+package() {
+ cd "${srcdir}/src/github.com/syncthing/${pkgname}"
+ install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 "etc/linux-systemd/user/syncthing-inotify.service" "${pkgdir}/usr/lib/systemd/user/syncthing-inotify.service"
+ install -Dm644 "etc/linux-systemd/system/syncthing-inotify at .service" "${pkgdir}/usr/lib/systemd/system/syncthing-inotify at .service"
+ install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
Copied: syncthing-inotify/repos/community-staging-x86_64/PKGBUILD (from rev 175572, syncthing-inotify/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-05-17 19:52:52 UTC (rev 175573)
@@ -0,0 +1,43 @@
+# $Id: PKGBUILD 175562 2016-05-17 18:55:05Z jlichtblau $
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Stefan Tatschner <stefan at sevenbyte.org>
+
+pkgname=syncthing-inotify
+pkgver=0.8
+pkgrel=1
+pkgdesc="Inotify file watcher for Syncthing"
+url="https://github.com/syncthing/syncthing-inotify"
+license=('MPL')
+arch=('i686' 'x86_64')
+depends=('syncthing>=0.13')
+makedepends=('git' 'go' 'godep')
+source=("$pkgname-$pkgver::git+https://github.com/syncthing/syncthing-inotify.git#tag=v${pkgver}")
+sha256sums=('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}"
+ go get
+ go build
+}
+
+check() {
+ export GOPATH="${srcdir}"
+ cd "${srcdir}/src/github.com/syncthing/${pkgname}"
+# go test
+}
+
+package() {
+ cd "${srcdir}/src/github.com/syncthing/${pkgname}"
+ install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 "etc/linux-systemd/user/syncthing-inotify.service" "${pkgdir}/usr/lib/systemd/user/syncthing-inotify.service"
+ install -Dm644 "etc/linux-systemd/system/syncthing-inotify at .service" "${pkgdir}/usr/lib/systemd/system/syncthing-inotify at .service"
+ install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
More information about the arch-commits
mailing list