Date: Friday, August 14, 2020 @ 06:30:16 Author: felixonmars Revision: 678308
archrelease: copy trunk to community-x86_64 Added: glider/repos/community-x86_64/PKGBUILD (from rev 678307, glider/trunk/PKGBUILD) Deleted: glider/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-14 06:30:09 UTC (rev 678307) +++ PKGBUILD 2020-08-14 06:30:16 UTC (rev 678308) @@ -1,36 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Maintainer: Morten Linderud <foxbo...@archlinux.org> - -pkgname=glider -pkgver=0.10.1 -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=('00cdfacdbb856e12c30cf6eded717a40830f0fbc2b5c308ecb5e71bcb3979122031657b94cd0c22278faec1c3b917c45974272230f81984390989dbbdc287294') - -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@.service "$pkgdir"/usr/lib/systemd/system/glider@.service -} Copied: glider/repos/community-x86_64/PKGBUILD (from rev 678307, glider/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-14 06:30:16 UTC (rev 678308) @@ -0,0 +1,36 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Morten Linderud <foxbo...@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@.service "$pkgdir"/usr/lib/systemd/system/glider@.service +}