Package Details: oh-my-posh-bin 21.14.0-1

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: 10
Popularity: 1.24
First Submitted: 2022-04-04 15:34 (UTC)
Last Updated: 2024-06-19 18:40 (UTC)

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.

Latest Comments

1 2 Next › Last »

jsimon0 commented on 2024-06-18 12:32 (UTC)

@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.

shayaknyc commented on 2024-06-17 15:04 (UTC) (edited on 2024-06-17 15:05 (UTC) by shayaknyc)

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=(

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.

Kamack38 commented on 2022-11-08 16:30 (UTC)

Fix for the Licence file will be pushed soon.

a821 commented on 2022-11-08 08:34 (UTC) (edited on 2022-11-08 09:08 (UTC) by a821)

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 {} +
}

Kamack38 commented on 2022-07-18 10:54 (UTC)

LiteracyFanatic, maybe try cleaning your AUR helper cache or build the PKGBUILD directly.

LiteracyFanatic commented on 2022-07-18 01:47 (UTC)

themes.zip checksum is invalid again.

mikebm94 commented on 2022-07-11 04:37 (UTC)

The validity check for the themes.zip file (themes-41fd29514b4f7f13062e57c229a62d163470d4519aefb8ac05a6b4153b8d807a.zip) fails.

wszqkzqk commented on 2022-06-21 05:53 (UTC)

But how to solve the problem of character garbled.

m3thodic commented on 2022-06-12 16:03 (UTC)

Actually here is a better diff for changing the file permissions on themes:

diff --git a/PKGBUILD b/PKGBUILD
index 4b44796..bc9e991 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -43,4 +43,5 @@ package() {

     mkdir -p "${pkgdir}/usr/share/oh-my-posh/themes"
     unzip "${srcdir}/themes-${sha256sums}.zip" -d "${pkgdir}/usr/share/oh-my-posh/themes"
+    find "${pkgdir}/usr/share/oh-my-posh/themes" -type f -exec chmod 644 "{}" \;
 }