fix pkg ver
Some checks failed
release / Release (push) Has been cancelled

This commit is contained in:
2026-03-03 16:03:02 +09:00
parent 69b933586f
commit d67c046eff
5 changed files with 101 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
pkgname=ailog
pkgver=0.0.1
pkgrel=1
pkgdesc='atproto blog cli for aios'
arch=('x86_64')
url='https://git.syui.ai/ai/log'
@@ -11,6 +12,14 @@ options=('!lto')
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