summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 415b26c7e2afba84798906b196c662e386fb4f9b (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
# Maintainer: navigaid <navigaid@gmail.com>
pkgname=k0s
pkgver=0.1.5
pkgrel=1
pkgdesc='Aggregate your personal infrastructure'
arch=('x86_64' 'i686' 'armv6h' 'armv7h' 'aarch64')
url='https://github.com/btwiuse/k0s'
license=('Apache')
makedepends=('make' 'go')
source=("https://github.com/btwiuse/k0s/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('44cf83e79835f0879d4b4e72137a1194e5f6db727b6a974de38b214e9c6dd755')

prepare() {
  true
}

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

package() {
  cd ${pkgname}-${pkgver}
  install -Dm755 $(realpath bin/k0s) "${pkgdir}/usr/bin/${pkgname}"
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

# vim:set ts=2 sw=2 et: