summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Yip2023-05-13 08:51:09 -0500
committerJason Yip2023-05-13 08:51:09 -0500
commitf670d35e3d8ad90c7acb5a5a0a8ff65340fc054b (patch)
treeb7638ab5f0a1c604ba71cf94ab749a3d8b47246f
parent038db6adf0bfbc7c0d321acfb9120d209509d503 (diff)
downloadaur-f670d35e3d8ad90c7acb5a5a0a8ff65340fc054b.tar.gz
[FIX]: add provides and conflicts field
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
2 files changed, 7 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index feba5ab71e48..e43e03132482 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,16 @@
pkgbase = llm-bin
pkgdesc = Run inference for Large Language Models on CPU, with Rust 🦀🚀🦙
pkgver = 0.1.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/rustformers/llm
arch = x86_64
license = MIT
license = APACHE
depends = glibc
depends = gcc-libs
- source = llm-bin-0.1.1.tar.xz::https://github.com/rustformers/llm/releases/download/v0.1.1/llm-bin-cli-x86_64-unknown-linux-gnu.tar.xz
+ provides = llm
+ conflicts = llm
+ source = llm-0.1.1.tar.xz::https://github.com/rustformers/llm/releases/download/v0.1.1/llm-cli-x86_64-unknown-linux-gnu.tar.xz
sha256sums = bc373197995c6a000fd5fe92a9286d88f0f8387f8cd6239f93f8921bfbeae8e7
pkgname = llm-bin
diff --git a/PKGBUILD b/PKGBUILD
index 5fded7870a56..4d492abbc4b8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,14 @@
_pkgname="llm"
pkgname="${_pkgname}-bin"
pkgver=0.1.1
-pkgrel=1
+pkgrel=2
pkgdesc='Run inference for Large Language Models on CPU, with Rust 🦀🚀🦙'
arch=('x86_64')
url="https://github.com/rustformers/llm"
license=('MIT' 'APACHE')
depends=(glibc gcc-libs)
+provides=('llm')
+conflicts=('llm')
_tarname="${_pkgname}-cli-${arch}-unknown-linux-gnu"
source=("${_pkgname}-${pkgver}.tar.xz::${url}/releases/download/v${pkgver}/${_tarname}.tar.xz")
sha256sums=('bc373197995c6a000fd5fe92a9286d88f0f8387f8cd6239f93f8921bfbeae8e7')