blob: 15836d4b94e4ee28ef77820b925f9dc3f22661e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Damjan Georgievski <gdamjan@gmail.com>
pkgname="vouch-proxy"
pkgver=0.39.0
pkgrel=1
pkgdesc="an SSO and OAuth / OIDC login solution for Nginx using the auth_request module"
arch=('x86_64')
url="https://github.com/vouch/vouch-proxy"
license=('MIT')
makedepends=('go')
source=("${url}/archive/v${pkgver}.tar.gz" "vouch-proxy.service")
_DO="./do.sh"
build() {
cd "$pkgname-$pkgver"
$_DO goget
$_DO gobuildstatic
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 "$srcdir"/vouch-proxy.service "$pkgdir"/usr/lib/systemd/system/vouch-proxy.service
install -Dm755 vouch-proxy "$pkgdir"/usr/bin/vouch-proxy
}
sha256sums=('75d83acac12d40703491394bff5586232d2725a4651247b07bca3431fbc1f317'
'f4c79517e2eca2ca13756bf2c4fdafa7c2970195548151bf527178dfd8953603')
|