diff options
author | Parham Alvani | 2021-07-23 08:16:47 +0430 |
---|---|---|
committer | Parham Alvani | 2021-07-23 08:16:47 +0430 |
commit | 3be4ac15f39c4aa3bfeba68eca33b9e00ba4074e (patch) | |
tree | 3eb3884116ec31c8242956d610083207bc2825f8 /PKGBUILD | |
parent | 22a8ced3948fb57832f508a362205c690f7058be (diff) | |
download | aur-3be4ac15f39c4aa3bfeba68eca33b9e00ba4074e.tar.gz |
feat: Use OKD Versioning
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,16 +1,17 @@ # Maintainer: Parham Alvani <parham.alvani@gmail.com> pkgname=okd-client-bin -pkgver=4.7.0_0 -pkgrel=2 +pkgver="4.7.0_0.okd_2021_07_03_190901" +pkgrel=1 pkgdesc="Client tools for OpenShift" arch=(x86_64) url="https://github.com/openshift/okd" license=('Apache') -_pkgdate="2021-07-03-190901" +_pkgver=${pkgver%.*} +_pkgdate=${pkgver##*okd_} -source=("https://github.com/openshift/okd/releases/download/${pkgver//_/-}.okd-${_pkgdate}/openshift-client-linux-${pkgver//_/-}.okd-${_pkgdate}.tar.gz") +source=("https://github.com/openshift/okd/releases/download/${_pkgver//_/-}.okd-${_pkgdate//_/-}/openshift-client-linux-${_pkgver//_/-}.okd-${_pkgdate//_/-}.tar.gz") sha256sums=('32a3c7ad793c673fdfdbb5ecbc4ef03bfcfd4a59ce3ceef87b05c4b0d31dc5ff') |