summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c0525bdf4ad4eb0344347db67d36c051c8d89b8f (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
28
29
30
31
32
33
34
35
36
# Maintainer: Mattias Cockburn <mattias.cockburn@iits-consulting.de>
pkgname=otc-auth
_pkgver=v2.0.11
pkgver=${_pkgver##v}
pkgrel=1
epoch=
pkgdesc="Open Source CLI for the Authorization with the Open Telekom Cloud"
arch=(x86_64 arm64)
url="https://github.com/iits-consulting/otc-auth"
license=('GPL3')
groups=()
depends=()
makedepends=(go)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/iits-consulting/${pkgname}/archive/refs/tags/${_pkgver}.tar.gz")
noextract=()
validpgpkeys=()

build() {
	cd "$pkgname-$pkgver"
  go build -v -o otc-auth .
}

package() {
	cd "$pkgname-$pkgver"
	install -d -m 0755 "${pkgdir}/usr/bin"
  install -m 0755 otc-auth "${pkgdir}/usr/bin"
}