diff options
author | Felix Erkinger | 2023-12-02 02:19:30 +0100 |
---|---|---|
committer | Felix Erkinger | 2023-12-02 02:19:30 +0100 |
commit | e0069707959132fb61072fd5533aef7b81fb199f (patch) | |
tree | 9aff7fe5a7b1f09162ea82a03d8dc386434e6930 | |
parent | 510b4d5a6c938cbcb258400f572f185dfdcb9c9c (diff) | |
download | aur-e0069707959132fb61072fd5533aef7b81fb199f.tar.gz |
upgpkg: localai-git v2.0.0_beta.1.g42a80d1-1
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 8 insertions, 8 deletions
@@ -1,6 +1,6 @@ pkgbase = localai-git pkgdesc = The free, Open Source OpenAI alternative. Self-hosted, community-driven and local-first. - pkgver = v1.40.0.63.g9f708ff + pkgver = v2.0.0_beta.1.g42a80d1 pkgrel = 1 url = https://github.com/mudler/LocalAI arch = x86_64 @@ -1,6 +1,6 @@ # Maintainer: wuxxin <wuxxin@gmail.com> -# to only build for cpu, set ENABLE_CUDA and ROCM to 0 +# to only build for cpu, set ENABLE_CUDA and ENABLE_ROCM to 0 _ENABLE_CUDA=1 _ENABLE_ROCM=0 _SKIP_CPU=0 @@ -19,7 +19,7 @@ _pkgname="localai" pkgbase="${_pkgname}-git" pkgname=("${pkgbase}") -pkgver=v1.40.0.63.g9f708ff +pkgver=v2.0.0_beta.1.g42a80d1 pkgrel=1 pkgdesc="The free, Open Source OpenAI alternative. Self-hosted, community-driven and local-first." url="https://github.com/mudler/LocalAI" @@ -79,6 +79,11 @@ sha256sums=( 'SKIP' ) +pkgver() { + cd "${srcdir}/${_pkgname}" + echo "$(git describe --always --tags | tr "-" ".")" +} + prepare() { cd "${srcdir}/${_pkgname}" @@ -110,11 +115,6 @@ prepare() { done } -pkgver() { - cd "${srcdir}/../${_pkgname}" - echo "$(git describe --always --tags | tr "-" ".")" -} - _build() { if test -n "$(echo "$_GO_TAGS" | grep -o "stablediffusion")"; then make BUILD_TYPE="$1" GRPC_BACKENDS="backend-assets/grpc/stablediffusion" GO_TAGS="$_GO_TAGS" build |