summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD19
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..e8723e57a463
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = cni-plugins-bin
+ pkgdesc = Some CNI network plugins, maintained by the containernetworking team
+ pkgver = 0.7.1
+ pkgrel = 1
+ url = https://github.com/containernetworking/plugins
+ arch = x86_64
+ license = Apache
+ source = https://github.com/containernetworking/plugins/releases/download/v0.7.1/cni-plugins-amd64-v0.7.1.tgz
+ sha256sums = 6ecc5c7dbb8e4296b0d0d017e5440618e19605b9aa3b146a2c29af492f299dc7
+
+pkgname = cni-plugins-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..1983294f1e3d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: ProFfeSsoRr <evvsoft at gmail dot com>
+
+pkgname=cni-plugins-bin
+pkgver=0.7.1
+pkgrel=1
+pkgdesc="Some CNI network plugins, maintained by the containernetworking team"
+arch=(x86_64)
+url="https://github.com/containernetworking/plugins"
+license=('Apache')
+source=("https://github.com/containernetworking/plugins/releases/download/v${pkgver}/cni-plugins-amd64-v${pkgver}.tgz")
+sha256sums=('6ecc5c7dbb8e4296b0d0d017e5440618e19605b9aa3b146a2c29af492f299dc7')
+
+package() {
+ cd "$srcdir"
+ mkdir -p "$pkgdir"/opt/cni/bin
+ install -Dm755 * "$pkgdir"/opt/cni/bin
+ rm "$pkgdir"/opt/cni/bin/cni-plugins-amd64-v${pkgver}.tgz
+}
+