blob: e126ff2be576c8127959d842677e2929e944efcf (
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
|
# $Id$
# Maintainer: Radu Potop <radu at wooptoo dot com>
pkgname=oauth2c
pkgver=1.16.0
pkgrel=1
pkgdesc='User-friendly CLI for OAuth2'
arch=('x86_64' 'arm64' 'armv6')
url="https://github.com/cloudentity/oauth2c"
license=('Apache-2.0')
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
build() {
cd "${srcdir}/$pkgname-$pkgver"
go build .
}
package() {
cd "${srcdir}/$pkgname-$pkgver"
install -Dm755 $pkgname "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
}
sha256sums=('367589bb203347df7c63b413a2b39a1a9f9f6e125974b662932c10949fddae83')
|