version 23.6.5 had a bug, please update to 23.6.6
bash: avoid unexpected expansions in Bash/Zsh (db0cd95), closes #5468 bash: revert respect PROMPT_COMMAND as an array (f816e41)
Git Clone URL: | https://aur.archlinux.org/oh-my-posh-bin.git (read-only, click to copy) |
---|---|
Package Base: | oh-my-posh-bin |
Description: | A prompt theme engine for any shell. |
Upstream URL: | https://github.com/JanDeDobbeleer/oh-my-posh |
Licenses: | MIT |
Conflicts: | oh-my-posh |
Provides: | oh-my-posh |
Submitter: | Kamack38 |
Maintainer: | Kamack38 |
Last Packager: | Kamack38 |
Votes: | 18 |
Popularity: | 1.80 |
First Submitted: | 2022-04-04 15:34 (UTC) |
Last Updated: | 2024-11-17 18:43 (UTC) |
version 23.6.5 had a bug, please update to 23.6.6
bash: avoid unexpected expansions in Bash/Zsh (db0cd95), closes #5468 bash: revert respect PROMPT_COMMAND as an array (f816e41)
Sorry for the delay. The GitHub action has just been fixed.
@Kamack38 it seems your github action is not working. The github releases are not several versions (and opportunities for 1830 UTC) past the AUR package.
Here's my patch that can be applied to the PKGBUILD
from v21.9.0 to v21.12.0 for only the x86_64 binary:
--- PKGBUILD 2024-06-17 10:59:02.089970148 -0400
+++ PKGBUILD.bak 2024-06-17 10:53:41.633280516 -0400
@@ -1,7 +1,7 @@
# Maintainer: Kamack38 <kamack38.biznes@gmail.com>
_pkgname='oh-my-posh'
pkgname="${_pkgname}-bin"
-pkgver=21.12.0
+pkgver=21.9.1
pkgrel=1
pkgdesc="A prompt theme engine for any shell."
arch=('x86_64' 'armv7h' 'aarch64')
@@ -10,9 +10,9 @@
makedepends=('curl' 'grep' 'sed' 'unzip')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
-sha256sums=('e23ec5ae2d270799361ccbb693db7993e5b1dbea75e10a441b484b4eb1212b81'
+sha256sums=('26233f8beac6f4058441cc1a3f0d2d30a7d22d968a58af0d60efdc60c67eaa77'
'a5308c4e51268229a039ec4ec9a251a4cdb89d9380383e6e13aeba64a74f19ad')
-sha256sums_x86_64=('8f3b7ddb3e6469165d32617ef2a686fdf3ed71c61d5a18aab827ecaf0e2fabae')
+sha256sums_x86_64=('ccd94aeeaa3bbaa994f313d3538653e730c16dc3a39fa749befd8e768505ba45')
sha256sums_armv7h=('0127a6662e5138a8bfb6f050881f68f324ecde9da3a192ccfd610b91184c4dc7')
sha256sums_aarch64=('7ee9b8a821809835ae9c6b4359a5a4cec7684b80f3b5dd06a96f6c86717a3215')
source=(
Please do NOT flag this package out of date. This package is updated daily at 18:30 UTC by an automatic GitHub action here.
Fix for the Licence file will be pushed soon.
The built package contains a license file that has an unnecessary hash appended to its name. You could simply replace the line after package()
(line 35) with
install -Dm 644 "LICENSE-${sha256sums[1]}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
Edit: had to fix the PKGBUILD due to several issues already mentioned months ago
_pkgname='oh-my-posh'
pkgname="${_pkgname}-bin"
pkgver=12.13.0
pkgrel=1
pkgdesc="A prompt theme engine for any shell."
arch=('x86_64' 'armv7h' 'aarch64')
url="https://github.com/JanDeDobbeleer/oh-my-posh"
license=('MIT')
makedepends=('unzip')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
sha256sums=('6709f27c77c2abebcd4726778843164364322527d2455ace917396f67ffcc3d5'
'a5308c4e51268229a039ec4ec9a251a4cdb89d9380383e6e13aeba64a74f19ad')
sha256sums_x86_64=('2ab9ed43811f9f45947d0a21edff33b838d5cebc2036cc396debdd012358ceaa')
sha256sums_armv7h=('708fb455946a5036ab684e9fecba9cb106f9a4bcad72a519151da18d366a04c5')
sha256sums_aarch64=('168f7f440565aacd9f816524d450fde4914908dd605ba042b674264f08823025')
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")
noextract=("themes-${sha256sums[0]}.zip")
package() {
install -Dm 644 "LICENSE-${sha256sums[1]}" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
if [[ "$CARCH" = 'x86_64' ]]; then
install -Dm 755 "${srcdir}/posh-linux-amd64-${sha256sums_x86_64}" "${pkgdir}/usr/bin/oh-my-posh"
elif [[ "$CARCH" = 'armv7h' ]]; then
install -Dm 755 "${srcdir}/posh-linux-arm-${sha256sums_armv7h}" "${pkgdir}/usr/bin/oh-my-posh"
elif [[ "$CARCH" = 'aarch64' ]]; then
install -Dm 755 "${srcdir}/posh-linux-arm64-${sha256sums_aarch64}" "${pkgdir}/usr/bin/oh-my-posh"
fi
install -d "${pkgdir}/usr/share/oh-my-posh/themes"
unzip "themes-${sha256sums[0]}.zip" -d "${pkgdir}/usr/share/oh-my-posh/themes"
find "${pkgdir}/usr/share/oh-my-posh/themes/" -type f -exec chmod 644 {} +
}
LiteracyFanatic, maybe try cleaning your AUR helper cache or build the PKGBUILD directly.
themes.zip checksum is invalid again.
The validity check for the themes.zip file (themes-41fd29514b4f7f13062e57c229a62d163470d4519aefb8ac05a6b4153b8d807a.zip) fails.
Pinned Comments
Kamack38 commented on 2023-07-29 20:01 (UTC) (edited on 2023-07-29 20:03 (UTC) by Kamack38)
Please do NOT flag this package out of date. This package is updated daily at 18:30 UTC by an automatic GitHub action here.