summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorml2021-06-15 08:45:24 +0200
committerml2021-06-15 08:45:24 +0200
commit50ca0d64827658b7dffe24b5ab80831fb9e6816d (patch)
tree05b7e4cf2747a835a165af683b6419efaf4990b8
parent274cde47944f9b1fb546b05064d37a1a23ebae37 (diff)
downloadaur-50ca0d64827658b7dffe24b5ab80831fb9e6816d.tar.gz
Fix install paths. Add required dependencies
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD15
2 files changed, 10 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 12ea41efae2..7e5aa943fa1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = kind
pkgdesc = Kubernetes IN Docker - local clusters for testing Kubernetes
pkgver = 0.11.1
- pkgrel = 3
+ pkgrel = 4
url = https://kind.sigs.k8s.io/
install = kind.install
arch = x86_64
@@ -12,10 +12,11 @@ pkgbase = kind
license = Apache
makedepends = go
makedepends = git
- depends = glibc
+ depends = podman
+ depends = podman-dnsname
+ depends = dnsmasq
+ depends = kubectl
optdepends = docker: container engine
- optdepends = podman: container engine
- optdepends = kubectl: for managing Kubernetes clusters
source = https://github.com/kubernetes-sigs/kind/archive/v0.11.1/kind-0.11.1.tar.gz
source = modules-load.conf
source = registry-aliases.conf
diff --git a/PKGBUILD b/PKGBUILD
index 8a8165e84dd..fc3f323fed2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,14 @@
# Maintainer: ml <>
pkgname=kind
pkgver=0.11.1
-pkgrel=3
+pkgrel=4
pkgdesc='Kubernetes IN Docker - local clusters for testing Kubernetes'
arch=('x86_64' 'aarch64' 'arm' 'armv6h' 'armv7h')
url='https://kind.sigs.k8s.io/'
license=('Apache')
-depends=('glibc')
+depends=('podman' 'podman-dnsname' 'dnsmasq' 'kubectl')
makedepends=('go' 'git')
-optdepends=(
- 'docker: container engine'
- 'podman: container engine'
-
- 'kubectl: for managing Kubernetes clusters'
-)
+optdepends=('docker: container engine')
install=kind.install
source=("https://github.com/kubernetes-sigs/kind/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
modules-load.conf
@@ -41,8 +36,8 @@ build() {
}
package() {
- install -Dm755 modules-load.conf -t "$pkgdir/etc/modules-load.d"
- install -Dm755 registry-aliases.conf -t "$pkgdir/etc/containers/registries.conf.d/kind.conf"
+ install -Dm644 modules-load.conf "$pkgdir/etc/modules-load.d/kind.conf"
+ install -Dm644 registry-aliases.conf "$pkgdir/etc/containers/registries.conf.d/kind.conf"
cd "$pkgname-$pkgver"
install -Dm755 "$pkgname" -t "$pkgdir/usr/bin"