fix: update PKGBUILD

This commit is contained in:
nekohepott 2026-06-17 04:16:36 +03:00
parent 14e121cf90
commit 3021fba918
No known key found for this signature in database

View File

@ -1,16 +1,16 @@
# Maintainer: Mykhailo Aleksieiev <mishanya.bigimot@gmail.com>
pkgname=gogofetch-git
pkgver=r72.51d32b6
pkgver=r134.da944b7
pkgrel=1
pkgdesc="Fetch written in Go with image support"
arch=('x86_64')
url="https://codeberg.org/nekohepott/goGoFetch"
license=('MIT')
depends=('glibc' 'chafa')
makedepends=('git' 'go')
makedepends=('git' 'go' 'git-lfs')
provides=("gogofetch")
conflicts=("gogofetch")
source=("git+https://codeberg.org/nekohepott/goGoFetch.git")
source=("goGoFetch::git+https://codeberg.org/nekohepott/goGoFetch.git#branch=master")
sha256sums=('SKIP')
pkgver() {
@ -18,6 +18,13 @@ pkgver() {
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "goGoFetch"
git remote set-url origin https://codeberg.org/nekohepott/goGoFetch.git
git lfs install --local
git lfs pull
}
build() {
cd "goGoFetch"
export GOPATH="$srcdir/gopath"