summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander F. Rødseth2019-02-27 11:20:58 +0100
committerAlexander F. Rødseth2019-02-27 11:20:58 +0100
commitd022935d0e39fd5243612253f7925d722e8f432a (patch)
tree0bb38720ad65895c737a62933ee78cc7535fee08
parent409fc7f7de59376590f6527b84bd14c9a89e4ac1 (diff)
downloadaur-d022935d0e39fd5243612253f7925d722e8f432a.tar.gz
Add installation of executables
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 08e2aa83b02b..ca53978da422 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 08942537e490..284a069ca0b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}