[arch-commits] Commit in syncthing-inotify/repos (4 files)
Timothy Redaelli
tredaelli at archlinux.org
Sun Aug 16 11:19:19 UTC 2015
Date: Sunday, August 16, 2015 @ 13:19:18
Author: tredaelli
Revision: 138406
archrelease: copy trunk to community-i686, community-x86_64
Added:
syncthing-inotify/repos/community-i686/
syncthing-inotify/repos/community-i686/PKGBUILD
(from rev 138405, syncthing-inotify/trunk/PKGBUILD)
syncthing-inotify/repos/community-x86_64/
syncthing-inotify/repos/community-x86_64/PKGBUILD
(from rev 138405, syncthing-inotify/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+)
Copied: syncthing-inotify/repos/community-i686/PKGBUILD (from rev 138405, syncthing-inotify/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-08-16 11:19:18 UTC (rev 138406)
@@ -0,0 +1,43 @@
+# $Id:$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Stefan Tatschner <stefan at sevenbyte.org>
+
+pkgname=syncthing-inotify
+pkgver=0.6.7
+pkgrel=1
+pkgdesc="Inotify file watcher for Syncthing"
+url="https://github.com/syncthing/syncthing-inotify"
+license=('MPL')
+arch=('i686' 'x86_64')
+depends=('syncthing')
+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-x86_64/PKGBUILD (from rev 138405, syncthing-inotify/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-08-16 11:19:18 UTC (rev 138406)
@@ -0,0 +1,43 @@
+# $Id:$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Stefan Tatschner <stefan at sevenbyte.org>
+
+pkgname=syncthing-inotify
+pkgver=0.6.7
+pkgrel=1
+pkgdesc="Inotify file watcher for Syncthing"
+url="https://github.com/syncthing/syncthing-inotify"
+license=('MPL')
+arch=('i686' 'x86_64')
+depends=('syncthing')
+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