Skip to content

Commit

Permalink
oh-my-posh: update to 25.0.0
Browse files Browse the repository at this point in the history
there has been a while since latest release, so pushing it unscheduled.
completions were removed in JanDeDobbeleer/oh-my-posh@e5b9569
  • Loading branch information
ognevny authored Feb 27, 2025
1 parent d0819f1 commit 833d9aa
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions mingw-w64-oh-my-posh/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_realname=oh-my-posh
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=24.19.0
pkgver=25.0.0
pkgrel=1
pkgdesc="A prompt theme engine for any shell (mingw-w64)"
arch=('any')
Expand All @@ -18,7 +18,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-go"
"${MINGW_PACKAGE_PREFIX}-cc")
optdepends=("${MINGW_PACKAGE_PREFIX}-ttf-font-nerd: to have icons in prompt themes")
source=("https://github.com/JanDeDobbeleer/oh-my-posh/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz")
sha256sums=('56ab165eb166d4cb6ca3bb21d9f262c27efd727778b1359c0794980d8ad87478')
sha256sums=('3a82c04bb57b3a67783a99cbdbd7ada17011d8df4f99ee1900a65c5282bc1226')

build() {
export GOOS=windows
Expand All @@ -42,9 +42,4 @@ package() {
install -Dm755 "${_realname}.exe" "${pkgdir}${MINGW_PREFIX}/bin/${_realname}.exe"
install -Dm644 "../COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE"
install -Dm644 ../themes/* -t "${pkgdir}${MINGW_PREFIX}/share/oh-my-posh/themes"

local _complete="./${_realname} completion"
$_complete bash | install -Dm644 /dev/stdin "${pkgdir}${MINGW_PREFIX}/share/bash-completion/completions/${_realname}"
$_complete fish | install -Dm644 /dev/stdin "${pkgdir}${MINGW_PREFIX}/share/fish/vendor_completions.d/${_realname}.fish"
$_complete zsh | install -Dm644 /dev/stdin "${pkgdir}${MINGW_PREFIX}/share/zsh/site-functions/_${_realname}"
}

0 comments on commit 833d9aa

Please sign in to comment.