[arch-commits] Commit in (6 files)

Felix Yan felixonmars at archlinux.org
Thu Jul 20 15:15:35 UTC 2017


    Date: Thursday, July 20, 2017 @ 15:15:34
  Author: felixonmars
Revision: 245822

addpkg: meshbird 0.2-1

Added:
  meshbird/
  meshbird/repos/
  meshbird/trunk/
  meshbird/trunk/PKGBUILD
  meshbird/trunk/meshbird.conf
  meshbird/trunk/meshbird.service

------------------+
 PKGBUILD         |   37 +++++++++++++++++++++++++++++++++++++
 meshbird.conf    |    1 +
 meshbird.service |   11 +++++++++++
 3 files changed, 49 insertions(+)

Added: meshbird/trunk/PKGBUILD
===================================================================
--- meshbird/trunk/PKGBUILD	                        (rev 0)
+++ meshbird/trunk/PKGBUILD	2017-07-20 15:15:34 UTC (rev 245822)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=meshbird
+pkgver=0.2
+pkgrel=1
+pkgdesc="GO Simple Tunnel"
+arch=('i686' 'x86_64')
+url="https://github.com/meshbird/meshbird"
+license=('Apache')
+depends=('glibc')
+makedepends=('git' 'go')
+backup=(etc/meshbird.conf)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/meshbird/meshbird/archive/v$pkgver.tar.gz"
+        meshbird.service meshbird.conf)
+md5sums=('989a59013a4bb0da94e31ea08fe6e8ba'
+         'c8947f4684023c7e9eb2a9f6634ed5a9'
+         '4e7d7a2569f88a8eecda6cddac939d4a')
+
+prepare() {
+  mkdir .gopath
+  export GOPATH="$srcdir"/.gopath
+
+  go get github.com/codegangsta/cli github.com/meshbird/meshbird
+}
+
+build() {
+  cd meshbird-$pkgver
+  go build # -gccgoflags "$CFLAGS $LDFLAGS"
+}
+
+package() {
+  cd meshbird-$pkgver
+  install -Dm755 meshbird-$pkgver "$pkgdir"/usr/bin/meshbird
+  install -Dm644 "$srcdir"/meshbird.service "$pkgdir"/usr/lib/systemd/system/meshbird.service
+  install -Dm644 "$srcdir"/meshbird.conf "$pkgdir"/etc/meshbird.conf
+}


Property changes on: meshbird/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: meshbird/trunk/meshbird.conf
===================================================================
--- meshbird/trunk/meshbird.conf	                        (rev 0)
+++ meshbird/trunk/meshbird.conf	2017-07-20 15:15:34 UTC (rev 245822)
@@ -0,0 +1 @@
+MESHBIRD_KEY="CHANGE_THIS"

Added: meshbird/trunk/meshbird.service
===================================================================
--- meshbird/trunk/meshbird.service	                        (rev 0)
+++ meshbird/trunk/meshbird.service	2017-07-20 15:15:34 UTC (rev 245822)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Meshbird Service
+After=network.target
+
+[Service]
+Type=simple
+EnvironmentFile=/etc/meshbird.conf
+ExecStart=/usr/bin/meshbird join
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list