This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
pkgname=aishell
|
||||
pkgver=0.0.1
|
||||
pkgrel=1
|
||||
|
||||
pkgdesc='custom shell for aios'
|
||||
arch=('x86_64')
|
||||
url='https://git.syui.ai/ai/shell'
|
||||
@@ -11,6 +12,14 @@ options=('!lto')
|
||||
source=("git+https://git.syui.ai/ai/shell.git#branch=main")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd shell
|
||||
printf "%s.r%s.g%s" \
|
||||
"$(cargo pkgid | sed 's/.*@//')" \
|
||||
"$(git rev-list --count HEAD)" \
|
||||
"$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd shell
|
||||
export CC=gcc
|
||||
|
||||
Reference in New Issue
Block a user