[arch-commits] Commit in glider/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Mon Mar 2 18:45:47 UTC 2020
Date: Monday, March 2, 2020 @ 18:45:47
Author: jelle
Revision: 588671
archrelease: copy trunk to community-x86_64
Added:
glider/repos/community-x86_64/PKGBUILD
(from rev 588670, glider/trunk/PKGBUILD)
Deleted:
glider/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-02 18:45:40 UTC (rev 588670)
+++ PKGBUILD 2020-03-02 18:45:47 UTC (rev 588671)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=glider
-pkgver=0.9.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=('5f4165545f554bf6548580b7535d5a1528a81e49c7adaeb953ffe97fa87c566c9c42a3e3798f279ffe3380bd0c3504d0930d5b66782e3f3b9e4615f818fa4a20')
-
-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
-}
Copied: glider/repos/community-x86_64/PKGBUILD (from rev 588670, glider/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-02 18:45:47 UTC (rev 588671)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=glider
+pkgver=0.9.2
+pkgrel=2
+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=('5f4165545f554bf6548580b7535d5a1528a81e49c7adaeb953ffe97fa87c566c9c42a3e3798f279ffe3380bd0c3504d0930d5b66782e3f3b9e4615f818fa4a20')
+
+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