This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,16 +1,25 @@
|
||||
pkgname=ailog
|
||||
pkgver=0.0.1
|
||||
pkgrel=1
|
||||
|
||||
pkgdesc='atproto blog cli for aios'
|
||||
arch=('x86_64')
|
||||
url='https://git.syui.ai/ai/log'
|
||||
license=('MIT')
|
||||
depends=('gcc-libs')
|
||||
makedepends=('rust' 'cargo' 'git')
|
||||
options=('!lto')
|
||||
options=('!lto' '!debug')
|
||||
source=("git+https://git.syui.ai/ai/log.git#branch=main")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd log
|
||||
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 log
|
||||
export CC=gcc
|
||||
|
||||
@@ -1,16 +1,25 @@
|
||||
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')
|
||||
options=('!lto')
|
||||
options=('!lto' '!debug')
|
||||
source=("git+https://git.syui.ai/ai/shell.git#branch=main")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd shell
|
||||
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 shell
|
||||
export CC=gcc
|
||||
|
||||
Reference in New Issue
Block a user