summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorerdii2021-05-15 14:41:02 +0200
committererdii2021-05-15 14:41:02 +0200
commit456d1c05c7ae27bd82fa142a77a30b2ac546eeff (patch)
tree2b0030a37fb82b99461773808e5e6c7c8881436b
parent2f0068baad2d107ccde6eece70d8eea8a3067616 (diff)
downloadaur-456d1c05c7ae27bd82fa142a77a30b2ac546eeff.tar.gz
move /usr/local/bin/oc to /usr/bin/oc
Thanks @twelveeighty for pointing out the arch package etiquette [1][2] and that /usr/local/* should not be used. [1] https://aur.archlinux.org/packages/openshift-client-bin/#comment-807407 [2] https://wiki.archlinux.org/title/Arch_package_guidelines#Package_etiquette Signed-off-by: erdii <me@erdii.engineering>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1277802b994..0d4f1199022 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = openshift-client-bin
pkgdesc = Client tools for OpenShift, binary release
pkgver = 4.7.8
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/openshift/oc
arch = x86_64
license = Apache
diff --git a/PKGBUILD b/PKGBUILD
index 28c90fe208d..d1d10cf6740 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Josh Gwosdz <jgwosdz at redhat dot com>
pkgname=openshift-client-bin
pkgver=4.7.8
-pkgrel=1
+pkgrel=2
pkgdesc="Client tools for OpenShift, binary release"
arch=("x86_64")
provides=("oc")
@@ -23,5 +23,5 @@ prepare() {
package() {
install -Dm644 $srcdir/bash-completions $pkgdir/usr/share/bash-completion/completions/oc
install -Dm644 $srcdir/zsh-completions $pkgdir/usr/share/zsh/site-functions/_oc
- install -Dm755 "${srcdir}/oc" "${pkgdir}/usr/local/bin/oc"
+ install -Dm755 "${srcdir}/oc" "${pkgdir}/usr/bin/oc"
}