[arch-commits] Commit in glider/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Oct 16 06:19:38 UTC 2019
Date: Wednesday, October 16, 2019 @ 06:19:37
Author: felixonmars
Revision: 516283
archrelease: copy trunk to community-x86_64
Added:
glider/repos/community-x86_64/PKGBUILD
(from rev 516282, glider/trunk/PKGBUILD)
Deleted:
glider/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 78 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 38 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-16 06:19:26 UTC (rev 516282)
+++ PKGBUILD 2019-10-16 06:19:37 UTC (rev 516283)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=glider
-pkgver=0.8.2
-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=('846c61eb55e0a0d726fcd718b6fefe33c977b53c98d710ac39e5a338455058053526452951f61ce4b5478371ad5bc7b973dbb21c306f1312ebb34ef7c6ae4113')
-
-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
-
- echo 'replace gitlab.com/yawning/chacha20.git => github.com/Yawning/chacha20 latest' >> "$srcdir"/glider-$pkgver/go.mod
-
- go get github.com/nadoo/conflag github.com/nadoo/go-shadowsocks2
-}
-
-build() {
- cd glider-$pkgver
- go build \
- -gcflags "all=-trimpath=${PWD}" \
- -asmflags "all=-trimpath=${PWD}" \
- -ldflags "-extldflags ${LDFLAGS}"
-
-}
-
-package() {
- cd glider-$pkgver
- install -Dm755 glider "$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 516282, glider/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-16 06:19:37 UTC (rev 516283)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=glider
+pkgver=0.8.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=('f0d9e0eb710bd550c5b03141c1338ae8d9d63a011233ede075a64a1a2222ce642e4197e95200b709ded195c8334d483b9557f1aa2f38609b1765bcab9f1eff24')
+
+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/nadoo/go-shadowsocks2
+}
+
+build() {
+ cd glider-$pkgver
+ go build \
+ -gcflags "all=-trimpath=${PWD}" \
+ -asmflags "all=-trimpath=${PWD}" \
+ -ldflags "-extldflags ${LDFLAGS}"
+
+}
+
+package() {
+ cd glider-$pkgver
+ install -Dm755 glider "$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