fix pkg ver
All checks were successful
release / Release (push) Successful in 6m33s

This commit is contained in:
2026-03-03 16:03:02 +09:00
parent 69b933586f
commit 3a58b8243d
6 changed files with 106 additions and 5 deletions

View File

@@ -1,16 +1,25 @@
pkgname=aigpt
pkgver=0.0.1
pkgrel=1
pkgdesc='ai memory and personality system for aios'
arch=('x86_64')
url='https://git.syui.ai/ai/gpt'
license=('MIT')
depends=('gcc-libs')
makedepends=('rust' 'cargo' 'git')
options=('!lto')
options=('!lto' '!debug')
source=("git+https://git.syui.ai/ai/gpt.git#branch=main")
sha256sums=('SKIP')
pkgver() {
cd gpt
printf "%s.r%s.g%s" \
"$(grep '^version' Cargo.toml | head -1 | sed 's/.*"\(.*\)"/\1/')" \
"$(git rev-list --count HEAD)" \
"$(git rev-parse --short HEAD)"
}
build() {
cd gpt
export CC=gcc