summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c10764ee9b6b011c3841116d66ddddb4994d6948 (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
pkgname=upctl
pkgver=v0.5.0
pkgrel=1
pkgdesc="upctl - a CLI tool for managing UpCloud services."
arch=('x86_64')
url="https://upcloud.com"
license=('Apache')
makedepends=('go' 'git')
source=("https://github.com/UpCloudLtd/$pkgname/archive/${pkgver}.tar.gz")
sha256sums=('SKIP')

build() {
  cd "$pkgname-$pkgver"
  make build
}

check() {
  cd "$pkgname-$pkgver"
  make test
}

package() {
    cd "$pkgname-$pkgver"
    install -Dm755 bin/upctl "$pkgdir/usr/local/bin/upctl"
}