[arch-commits] Commit in glider/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Jul 5 16:38:43 UTC 2018


    Date: Thursday, July 5, 2018 @ 16:38:43
  Author: felixonmars
Revision: 352964

archrelease: copy trunk to community-x86_64

Added:
  glider/repos/community-x86_64/PKGBUILD
    (from rev 352963, glider/trunk/PKGBUILD)
Deleted:
  glider/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   68 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 35 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-05 16:38:17 UTC (rev 352963)
+++ PKGBUILD	2018-07-05 16:38:43 UTC (rev 352964)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=glider
-pkgver=0.5.3
-pkgrel=1
-pkgdesc="A forward proxy with multiple protocols support"
-arch=('x86_64')
-url="https://github.com/nadoo/glider"
-license=('GPL')
-depends=('glibc')
-makedepends=('go-pie' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/nadoo/glider/archive/v$pkgver.tar.gz")
-sha512sums=('a28abf820852d564c4eb36801e0141230041b1f9602cda26c271f9d72a5bd6b1a0fc0156cb7c98ea130661b4a3f2e6c8c200e8591b334b40d654c3db4c7c0d55')
-
-prepare() {
-  mkdir .gopath
-  export GOPATH="$srcdir"/.gopath
-
-  go get github.com/nadoo/conflag github.com/shadowsocks/go-shadowsocks2/core github.com/sun8911879/shadowsocksR
-}
-
-build() {
-  cd glider-$pkgver
-  go build
-}
-
-package() {
-  cd glider-$pkgver
-  install -Dm755 glider-$pkgver "$pkgdir"/usr/bin/glider
-  install -Dm644 config/glider.conf.example "$pkgdir"/etc/glider/glider.conf.example
-  install -Dm644 systemd/glider at .service "$pkgdir"/usr/lib/systemd/system/glider at .service
-}

Copied: glider/repos/community-x86_64/PKGBUILD (from rev 352963, glider/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-07-05 16:38:43 UTC (rev 352964)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=glider
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="A forward proxy with multiple protocols support"
+arch=('x86_64')
+url="https://github.com/nadoo/glider"
+license=('GPL')
+depends=('glibc')
+makedepends=('go-pie' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nadoo/glider/archive/v$pkgver.tar.gz")
+sha512sums=('351b4a77172527659e29be6092a10daa3fcb5e712b19a7536bd969fe195c2e85a4bca410772880318c2a7868105a6d078a04a9c4fa5946c436edfd0310701334')
+
+prepare() {
+  mkdir .gopath
+  export GOPATH="$srcdir"/.gopath
+  mkdir -p "$GOPATH"/src/github.com/nadoo
+  ln -sf "$srcdir"/glider-$pkgver "$GOPATH"/src/github.com/nadoo/glider
+
+  go get github.com/nadoo/conflag github.com/shadowsocks/go-shadowsocks2/core github.com/sun8911879/shadowsocksR
+}
+
+build() {
+  cd glider-$pkgver
+  go build
+}
+
+package() {
+  cd glider-$pkgver
+  install -Dm755 glider-$pkgver "$pkgdir"/usr/bin/glider
+  install -Dm644 config/glider.conf.example "$pkgdir"/etc/glider/glider.conf.example
+  install -Dm644 systemd/glider at .service "$pkgdir"/usr/lib/systemd/system/glider at .service
+}



More information about the arch-commits mailing list