Files
os/pkg/aishell/PKGBUILD
syui 6ce50d3b3c
All checks were successful
release / Release (push) Successful in 31s
fix ring linker: set CARGO_TARGET linker to gcc
2026-03-02 17:54:18 +09:00

24 lines
497 B
Bash

pkgname=aishell
pkgver=0.0.1
pkgrel=1
pkgdesc='custom shell for aios'
arch=('x86_64')
url='https://git.syui.ai/ai/shell'
license=('MIT')
depends=('gcc-libs')
makedepends=('rust' 'cargo' 'git')
source=("git+https://git.syui.ai/ai/shell.git#branch=main")
sha256sums=('SKIP')
build() {
cd shell
export CC=gcc
export CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER=gcc
cargo build --release
}
package() {
cd shell
install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}