Files
os/pkg/aigpt/PKGBUILD
syui 69b933586f
All checks were successful
release / Release (push) Successful in 32s
fix pacman pkg
2026-03-03 01:15:51 +09:00

25 lines
524 B
Bash

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')
source=("git+https://git.syui.ai/ai/gpt.git#branch=main")
sha256sums=('SKIP')
build() {
cd gpt
export CC=gcc
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=gcc
cargo build --release
}
package() {
cd gpt
install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}