Update oh-my-posh-bin package to 7.79.3
This commit is contained in:
parent
f7771ed4c9
commit
dc157829ec
2 changed files with 22 additions and 22 deletions
18
.SRCINFO
18
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = oh-my-posh-bin
|
pkgbase = oh-my-posh-bin
|
||||||
pkgdesc = A prompt theme engine for any shell.
|
pkgdesc = A prompt theme engine for any shell.
|
||||||
pkgver = 7.79.0
|
pkgver = 7.79.3
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/JanDeDobbeleer/oh-my-posh
|
url = https://github.com/JanDeDobbeleer/oh-my-posh
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
@ -14,13 +14,13 @@ pkgbase = oh-my-posh-bin
|
||||||
provides = oh-my-posh
|
provides = oh-my-posh
|
||||||
conflicts = oh-my-posh
|
conflicts = oh-my-posh
|
||||||
noextract = themes.zip
|
noextract = themes.zip
|
||||||
source = themes-7.79.0.zip::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.79.0/themes.zip
|
source = themes-69b6831e6c7923712fde726a9eb1f27a55f3fd34f4bdae28c60038daf49de83a.zip::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.79.3/themes.zip
|
||||||
sha256sums = b9f5b0367e7d3f55793212011b8a5f991da7f3aa65cbda0f09535432a5d6aac0
|
sha256sums = 69b6831e6c7923712fde726a9eb1f27a55f3fd34f4bdae28c60038daf49de83a
|
||||||
source_x86_64 = posh-linux-amd64-7.79.0::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.79.0/posh-linux-amd64
|
source_x86_64 = posh-linux-amd64-de8c1fb3d3c906de05d036e0503f714541813ca583d70cb027270e54c406d2a8::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.79.3/posh-linux-amd64
|
||||||
sha256sums_x86_64 = 297d0d0b625e9eb64c0ee48a80562aa398f062ce18a1cf09588493298aeb4e99
|
sha256sums_x86_64 = de8c1fb3d3c906de05d036e0503f714541813ca583d70cb027270e54c406d2a8
|
||||||
source_armv7h = posh-linux-arm-7.79.0::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.79.0/posh-linux-arm
|
source_armv7h = posh-linux-arm-11fcfdab410ac628e22e5a2f1ca2c3ca181c6c843ffd1605887d4bf655b37e6c::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.79.3/posh-linux-arm
|
||||||
sha256sums_armv7h = 163d576b54362cbb765e15627fbe5342bc18d79229d5ab8deb2f7f6648b485a7
|
sha256sums_armv7h = 11fcfdab410ac628e22e5a2f1ca2c3ca181c6c843ffd1605887d4bf655b37e6c
|
||||||
source_aarch64 = posh-linux-arm64-7.79.0::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.79.0/posh-linux-arm64
|
source_aarch64 = posh-linux-arm64-8f871fe468c4f4c0765ecde035ea110291f9de50ac3f0df986d675f3ea83841f::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.79.3/posh-linux-arm64
|
||||||
sha256sums_aarch64 = ecb0428f73360e59cd4175e862f208fcacacdfd6fa855ef0f327e98d40f0e1d6
|
sha256sums_aarch64 = 8f871fe468c4f4c0765ecde035ea110291f9de50ac3f0df986d675f3ea83841f
|
||||||
|
|
||||||
pkgname = oh-my-posh-bin
|
pkgname = oh-my-posh-bin
|
||||||
|
|
26
PKGBUILD
26
PKGBUILD
|
@ -1,7 +1,7 @@
|
||||||
# Maintainer: Kamack38 <kamack38.biznes@gmail.com>
|
# Maintainer: Kamack38 <kamack38.biznes@gmail.com>
|
||||||
_pkgname='oh-my-posh'
|
_pkgname='oh-my-posh'
|
||||||
pkgname="${_pkgname}-bin"
|
pkgname="${_pkgname}-bin"
|
||||||
pkgver=7.79.0
|
pkgver=7.79.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A prompt theme engine for any shell."
|
pkgdesc="A prompt theme engine for any shell."
|
||||||
arch=('x86_64' 'armv7h' 'aarch64')
|
arch=('x86_64' 'armv7h' 'aarch64')
|
||||||
|
@ -10,15 +10,15 @@ license=('MIT')
|
||||||
makedepends=('curl' 'grep' 'sed' 'unzip')
|
makedepends=('curl' 'grep' 'sed' 'unzip')
|
||||||
provides=("${_pkgname}")
|
provides=("${_pkgname}")
|
||||||
conflicts=("${_pkgname}")
|
conflicts=("${_pkgname}")
|
||||||
source=("themes-${pkgver}.zip::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$pkgver/themes.zip")
|
sha256sums=('69b6831e6c7923712fde726a9eb1f27a55f3fd34f4bdae28c60038daf49de83a')
|
||||||
source_x86_64=("posh-linux-amd64-${pkgver}::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$pkgver/posh-linux-amd64")
|
sha256sums_x86_64=('de8c1fb3d3c906de05d036e0503f714541813ca583d70cb027270e54c406d2a8')
|
||||||
source_armv7h=("posh-linux-arm-${pkgver}::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$pkgver/posh-linux-arm")
|
sha256sums_armv7h=('11fcfdab410ac628e22e5a2f1ca2c3ca181c6c843ffd1605887d4bf655b37e6c')
|
||||||
source_aarch64=("posh-linux-arm64-${pkgver}::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$pkgver/posh-linux-arm64")
|
sha256sums_aarch64=('8f871fe468c4f4c0765ecde035ea110291f9de50ac3f0df986d675f3ea83841f')
|
||||||
|
source=("themes-${sha256sums}.zip::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$pkgver/themes.zip")
|
||||||
|
source_x86_64=("posh-linux-amd64-${sha256sums_x86_64}::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$pkgver/posh-linux-amd64")
|
||||||
|
source_armv7h=("posh-linux-arm-${sha256sums_armv7h}::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$pkgver/posh-linux-arm")
|
||||||
|
source_aarch64=("posh-linux-arm64-${sha256sums_aarch64}::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$pkgver/posh-linux-arm64")
|
||||||
noextract=('themes.zip')
|
noextract=('themes.zip')
|
||||||
sha256sums=('b9f5b0367e7d3f55793212011b8a5f991da7f3aa65cbda0f09535432a5d6aac0')
|
|
||||||
sha256sums_x86_64=('297d0d0b625e9eb64c0ee48a80562aa398f062ce18a1cf09588493298aeb4e99')
|
|
||||||
sha256sums_armv7h=('163d576b54362cbb765e15627fbe5342bc18d79229d5ab8deb2f7f6648b485a7')
|
|
||||||
sha256sums_aarch64=('ecb0428f73360e59cd4175e862f208fcacacdfd6fa855ef0f327e98d40f0e1d6')
|
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
curl --silent -L "https://api.github.com/repos/JanDeDobbeleer/oh-my-posh/releases/latest" | # Get latest release from GitHub api
|
curl --silent -L "https://api.github.com/repos/JanDeDobbeleer/oh-my-posh/releases/latest" | # Get latest release from GitHub api
|
||||||
|
@ -29,13 +29,13 @@ pkgver() {
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
if [[ "$CARCH" = 'x86_64' ]]; then
|
if [[ "$CARCH" = 'x86_64' ]]; then
|
||||||
install -Dm 755 "posh-linux-amd64-${pkgver}" "${pkgdir}/usr/bin/oh-my-posh"
|
install -Dm 755 "posh-linux-amd64-${sha256sums_x86_64}" "${pkgdir}/usr/bin/oh-my-posh"
|
||||||
elif [[ "$CARCH" = 'armv7h' ]]; then
|
elif [[ "$CARCH" = 'armv7h' ]]; then
|
||||||
install -Dm 755 "posh-linux-arm-${pkgver}" "${pkgdir}/usr/bin/oh-my-posh"
|
install -Dm 755 "posh-linux-arm-${sha256sums_armv7h}" "${pkgdir}/usr/bin/oh-my-posh"
|
||||||
elif [[ "$CARCH" = 'aarch64' ]]; then
|
elif [[ "$CARCH" = 'aarch64' ]]; then
|
||||||
install -Dm 755 "posh-linux-arm64-${pkgver}" "${pkgdir}/usr/bin/oh-my-posh"
|
install -Dm 755 "posh-linux-arm64-${sha256sums_aarch64}" "${pkgdir}/usr/bin/oh-my-posh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p "${pkgdir}/usr/share/oh-my-posh/themes"
|
mkdir -p "${pkgdir}/usr/share/oh-my-posh/themes"
|
||||||
unzip "${srcdir}/themes-${pkgver}.zip" -d "${pkgdir}/usr/share/oh-my-posh/themes"
|
unzip "${srcdir}/themes-${sha256sums}.zip" -d "${pkgdir}/usr/share/oh-my-posh/themes"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue