[arch-commits] Commit in glider/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Wed Sep 2 19:25:56 UTC 2020
Date: Wednesday, September 2, 2020 @ 19:25:56
Author: foxboron
Revision: 696885
archrelease: copy trunk to community-x86_64
Added:
glider/repos/community-x86_64/PKGBUILD
(from rev 696884, glider/trunk/PKGBUILD)
Deleted:
glider/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-02 19:25:48 UTC (rev 696884)
+++ PKGBUILD 2020-09-02 19:25:56 UTC (rev 696885)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=glider
-pkgver=0.10.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' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/nadoo/glider/archive/v$pkgver.tar.gz")
-sha512sums=('eb7679c69bcc1d3667373444b5286f88a2e4c0e7439f667f2633d9d608ae8ebf6e036a6d1a893266d12b7a8570982b1b2d633344803d200f74203c20564351cb')
-
-build() {
- cd glider-$pkgver
- export GOFLAGS="-buildmode=pie -trimpath"
- export CGO_LDFLAGS="${LDFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- go build -o glider .
-
-}
-
-check(){
- cd glider-$pkgver
- go test -v ./...
-}
-
-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 696884, glider/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-02 19:25:56 UTC (rev 696885)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=glider
+pkgver=0.10.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' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nadoo/glider/archive/v$pkgver.tar.gz")
+sha512sums=('e1acf2d2f5cc37253b92bf89d013ad9a9295701c91e181112f6643e204a333ef4e0727b8231b6fde0c28616da209f2394bdadfab9cfd1f99a02471f42e776d1d')
+
+build() {
+ cd glider-$pkgver
+ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ go build -o glider .
+
+}
+
+check(){
+ cd glider-$pkgver
+ go test -v ./...
+}
+
+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