blob: ac20053aade874f5065cd402fef6d944ef30cb2d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Jan0660 <jan0660@tutanota.com>
_pkgname='oh-my-posh'
pkgname="${_pkgname}-git"
pkgdesc="A prompt theme engine for any shell."
pkgver() {
cd "oh-my-posh"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
pkgver=r3180.030d52bd
pkgrel=1
pkgbase=oh-my-posh-git
replaces=()
arch=('x86_64')
url="https://github.com/JanDeDobbeleer/oh-my-posh"
license=('MIT')
groups=()
makedepends=('git' 'go>=1.21.0')
depends=()
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=('git+https://github.com/JanDeDobbeleer/oh-my-posh.git')
sha256sums=('SKIP')
package() {
cd "${srcdir}/oh-my-posh/src"
go build -o ./oh-my-posh
install -Dm 755 ./oh-my-posh -t "${pkgdir}/usr/bin/"
}
|