diff --git a/.SRCINFO b/.SRCINFO index 6861423d0b64d..2b06d8d8d9b81 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -26,7 +26,5 @@ pkgbase = ik-llama.cpp conflicts = ik-llama.cpp-cuda options = lto options = !debug - source = git+https://github.com/ikawrakow/ik_llama.cpp - sha256sums = SKIP pkgname = ik-llama.cpp diff --git a/PKGBUILD b/PKGBUILD index 9bec9bd8b5564..f472ae3d93309 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -34,8 +34,13 @@ provides=(llama.cpp) options=(lto !debug) -source=("git+${url}") -sha256sums=('SKIP') +source=() +sha256sums=() + +prepare() { + cd "$srcdir" + git clone --single-branch --branch main "${url}" "${_pkgname}" +} pkgver() { cd "$_pkgname"