Update oh-my-posh-bin package to 7.85.2

This commit is contained in:
Kamack38 2022-05-17 20:53:10 +00:00
parent 17098ff042
commit a536480c14
2 changed files with 25 additions and 18 deletions

View file

@ -1,6 +1,6 @@
pkgbase = oh-my-posh-bin
pkgdesc = A prompt theme engine for any shell.
pkgver = 7.82.1
pkgver = 7.85.2
pkgrel = 1
url = https://github.com/JanDeDobbeleer/oh-my-posh
arch = x86_64
@ -14,13 +14,15 @@ pkgbase = oh-my-posh-bin
provides = oh-my-posh
conflicts = oh-my-posh
noextract = themes.zip
source = themes-3f6f5132bf08d4b39a5519ad90eed7fd93642a757624de5a52c200da7be8ccab.zip::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.82.1/themes.zip
sha256sums = 3f6f5132bf08d4b39a5519ad90eed7fd93642a757624de5a52c200da7be8ccab
source_x86_64 = posh-linux-amd64-7d97181b61b5cf22eeb8ddc72f11eb6e4a8c88dd90e25c5112835bfd562bdaec::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.82.1/posh-linux-amd64
sha256sums_x86_64 = 7d97181b61b5cf22eeb8ddc72f11eb6e4a8c88dd90e25c5112835bfd562bdaec
source_armv7h = posh-linux-arm-607ef516605fa5b60c089459e73f6634fbad53f47fb73c7343928e2d3496e2da::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.82.1/posh-linux-arm
sha256sums_armv7h = 607ef516605fa5b60c089459e73f6634fbad53f47fb73c7343928e2d3496e2da
source_aarch64 = posh-linux-arm64-b64b187d902cf9d93820da3abe583ef58c459284cae6b6bd7b17e8b8227c361f::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.82.1/posh-linux-arm64
sha256sums_aarch64 = b64b187d902cf9d93820da3abe583ef58c459284cae6b6bd7b17e8b8227c361f
source = themes-237863785a413d86d06631dce89fcb1dbd4a09992e68eb56931cac2f46a78f76.zip::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.85.2/themes.zip
source = LICENSE-a5308c4e51268229a039ec4ec9a251a4cdb89d9380383e6e13aeba64a74f19ad::https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/v7.85.2/COPYING
sha256sums = 237863785a413d86d06631dce89fcb1dbd4a09992e68eb56931cac2f46a78f76
sha256sums = a5308c4e51268229a039ec4ec9a251a4cdb89d9380383e6e13aeba64a74f19ad
source_x86_64 = posh-linux-amd64-308ab615d5f9c81c0d05bafbcc288e62c5cba1035855b5e75129cfa084dc7939::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.85.2/posh-linux-amd64
sha256sums_x86_64 = 308ab615d5f9c81c0d05bafbcc288e62c5cba1035855b5e75129cfa084dc7939
source_armv7h = posh-linux-arm-0aa76ddc2e73cce49d8653e34b76da159ade2081381aa21c35bdad1614b25d40::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.85.2/posh-linux-arm
sha256sums_armv7h = 0aa76ddc2e73cce49d8653e34b76da159ade2081381aa21c35bdad1614b25d40
source_aarch64 = posh-linux-arm64-38dbd2cf3e6991a6391361e85aa2c11c5defb7c9d1fb1a5999fff92354d4f2c0::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.85.2/posh-linux-arm64
sha256sums_aarch64 = 38dbd2cf3e6991a6391361e85aa2c11c5defb7c9d1fb1a5999fff92354d4f2c0
pkgname = oh-my-posh-bin

View file

@ -1,7 +1,7 @@
# Maintainer: Kamack38 <kamack38.biznes@gmail.com>
_pkgname='oh-my-posh'
pkgname="${_pkgname}-bin"
pkgver=7.82.1
pkgver=7.85.2
pkgrel=1
pkgdesc="A prompt theme engine for any shell."
arch=('x86_64' 'armv7h' 'aarch64')
@ -10,11 +10,15 @@ license=('MIT')
makedepends=('curl' 'grep' 'sed' 'unzip')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
sha256sums=('3f6f5132bf08d4b39a5519ad90eed7fd93642a757624de5a52c200da7be8ccab')
sha256sums_x86_64=('7d97181b61b5cf22eeb8ddc72f11eb6e4a8c88dd90e25c5112835bfd562bdaec')
sha256sums_armv7h=('607ef516605fa5b60c089459e73f6634fbad53f47fb73c7343928e2d3496e2da')
sha256sums_aarch64=('b64b187d902cf9d93820da3abe583ef58c459284cae6b6bd7b17e8b8227c361f')
source=("themes-${sha256sums}.zip::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$pkgver/themes.zip")
sha256sums=('237863785a413d86d06631dce89fcb1dbd4a09992e68eb56931cac2f46a78f76'
'a5308c4e51268229a039ec4ec9a251a4cdb89d9380383e6e13aeba64a74f19ad')
sha256sums_x86_64=('308ab615d5f9c81c0d05bafbcc288e62c5cba1035855b5e75129cfa084dc7939')
sha256sums_armv7h=('0aa76ddc2e73cce49d8653e34b76da159ade2081381aa21c35bdad1614b25d40')
sha256sums_aarch64=('38dbd2cf3e6991a6391361e85aa2c11c5defb7c9d1fb1a5999fff92354d4f2c0')
source=(
"themes-${sha256sums[0]}.zip::https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$pkgver/themes.zip"
"LICENSE-${sha256sums[1]}::https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/v${pkgver}/COPYING"
)
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")
@ -28,12 +32,13 @@ pkgver() {
}
package() {
install -Dm 644 "LICENSE-${sha256sums[1]}" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
if [[ "$CARCH" = 'x86_64' ]]; then
install -Dm 755 "posh-linux-amd64-${sha256sums_x86_64}" "${pkgdir}/usr/bin/oh-my-posh"
install -Dm 755 "${srcdir}/posh-linux-amd64-${sha256sums_x86_64}" "${pkgdir}/usr/bin/oh-my-posh"
elif [[ "$CARCH" = 'armv7h' ]]; then
install -Dm 755 "posh-linux-arm-${sha256sums_armv7h}" "${pkgdir}/usr/bin/oh-my-posh"
install -Dm 755 "${srcdir}/posh-linux-arm-${sha256sums_armv7h}" "${pkgdir}/usr/bin/oh-my-posh"
elif [[ "$CARCH" = 'aarch64' ]]; then
install -Dm 755 "posh-linux-arm64-${sha256sums_aarch64}" "${pkgdir}/usr/bin/oh-my-posh"
install -Dm 755 "${srcdir}/posh-linux-arm64-${sha256sums_aarch64}" "${pkgdir}/usr/bin/oh-my-posh"
fi
mkdir -p "${pkgdir}/usr/share/oh-my-posh/themes"