diff options
author | Alexander F. Rødseth | 2019-02-27 11:20:58 +0100 |
---|---|---|
committer | Alexander F. Rødseth | 2019-02-27 11:20:58 +0100 |
commit | d022935d0e39fd5243612253f7925d722e8f432a (patch) | |
tree | 0bb38720ad65895c737a62933ee78cc7535fee08 | |
parent | 409fc7f7de59376590f6527b84bd14c9a89e4ac1 (diff) | |
download | aur-d022935d0e39fd5243612253f7925d722e8f432a.tar.gz |
Add installation of executables
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 4 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Wed Feb 27 10:18:08 UTC 2019 +# Wed Feb 27 10:20:52 UTC 2019 pkgbase = k3s-git pkgdesc = Lightweight Kubernetes pkgver = r1.7d1baa9 - pkgrel = 2 + pkgrel = 3 url = https://github.com/rancher/k3s arch = x86_64 license = APACHE @@ -2,7 +2,7 @@ pkgname=k3s-git pkgver=r1.7d1baa9 -pkgrel=2 +pkgrel=3 pkgdesc='Lightweight Kubernetes' arch=(x86_64) url='https://github.com/rancher/k3s' @@ -23,7 +23,9 @@ build() { } package() { - DESTDIR="$pkgdir" make -C $pkgname install + install -Dm755 k3s "$pkgdir/usr/bin/k3s" + install -Dm755 kubectl "$pkgdir/usr/bin/kubectl" + install -Dm755 hyperkube "$pkgdir/usr/bin/hyperkube" install -Dm644 $pkgname/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |