Update AUR package to
This commit is contained in:
parent
589b3f10d2
commit
e42e380f57
2 changed files with 7 additions and 7 deletions
6
.SRCINFO
6
.SRCINFO
|
@ -1,6 +1,6 @@
|
|||
pkgbase = oh-my-posh-bin
|
||||
pkgdesc = A prompt theme engine for any shell.
|
||||
pkgver = 7.57.3
|
||||
pkgver = 7.59.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/JanDeDobbeleer/oh-my-posh
|
||||
arch = x86_64
|
||||
|
@ -8,7 +8,7 @@ pkgbase = oh-my-posh-bin
|
|||
makedepends = curl
|
||||
provides = oh-my-posh
|
||||
conflicts = oh-my-posh
|
||||
source = https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.57.3/posh-linux-amd64
|
||||
sha256sums = c5070cd3414c094647a04de8c95843b3933200ff9470962db5c6bb8c8a1d7b07
|
||||
source = https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v7.59.0/posh-linux-amd64
|
||||
sha256sums = ffd31c93cf38c27cd8f11293a9e58a9fa0d7f27e9f31fd2b16b73488be146285
|
||||
|
||||
pkgname = oh-my-posh-bin
|
||||
|
|
6
PKGBUILD
6
PKGBUILD
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Kamack38 <kamack38.biznes@gmail.com>
|
||||
_pkgname='oh-my-posh'
|
||||
pkgname="${_pkgname}-bin"
|
||||
pkgver=7.57.3
|
||||
pkgver=7.59.0
|
||||
pkgrel=1
|
||||
pkgdesc="A prompt theme engine for any shell."
|
||||
arch=('x86_64')
|
||||
|
@ -11,10 +11,10 @@ makedepends=('curl')
|
|||
provides=("${_pkgname}")
|
||||
conflicts=("${_pkgname}")
|
||||
source=("https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v$pkgver/posh-linux-amd64")
|
||||
sha256sums=('c5070cd3414c094647a04de8c95843b3933200ff9470962db5c6bb8c8a1d7b07')
|
||||
sha256sums=('ffd31c93cf38c27cd8f11293a9e58a9fa0d7f27e9f31fd2b16b73488be146285')
|
||||
|
||||
pkgver() {
|
||||
curl --silent "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
|
||||
grep '"tag_name":' | # Get tag line
|
||||
sed -E 's/.*"([^"]+)".*/\1/' |
|
||||
sed 's/v//'
|
||||
|
|
Loading…
Reference in a new issue