File tree Expand file tree Collapse file tree
packaging/aur/codegraph-rs-git Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ codegraph-rs-git /
2+ * .log
3+ * .pkg.tar.zst
Original file line number Diff line number Diff line change 11# Maintainer: Cleboost <clement.balarot@gmail.com>
22pkgname=codegraph-rs-git
3- pkgver=r0.g0000000
3+ pkgver=r350.g5c59daf
44pkgrel=1
55pkgdesc=" Local-first code intelligence: tree-sitter knowledge graph + MCP server (git)"
66arch=(' x86_64' ' aarch64' )
77url=" https://github.com/Cleboost/codegraph-rs"
88license=(' MIT' )
9- depends=(' gcc-libs' )
10- makedepends=(' rust' ' cargo' ' git' ' gcc ' )
9+ depends=(' gcc-libs' ' sqlite ' )
10+ makedepends=(' rust' ' cargo' ' git' )
1111provides=(' codegraph' )
1212conflicts=(' codegraph' ' codegraph-rs-bin' )
1313source=(" $pkgname ::git+$url .git" )
@@ -21,22 +21,21 @@ pkgver() {
2121prepare () {
2222 cd " $pkgname "
2323 export RUSTUP_TOOLCHAIN=stable
24+ export CARGO_HOME=" $srcdir /.cargo"
2425 cargo fetch --locked --target " $( rustc -vV | sed -n ' s/host: //p' ) "
2526}
2627
2728build () {
2829 cd " $pkgname "
2930 export RUSTUP_TOOLCHAIN=stable
31+ export CARGO_HOME=" $srcdir /.cargo"
3032 export CARGO_TARGET_DIR=target
33+ export LIBSQLITE3_SYS_USE_PKG_CONFIG=1
34+ export CFLAGS+=" -ffat-lto-objects"
35+ export RUSTFLAGS+=" --remap-path-prefix=$srcdir =/build"
3136 cargo build --frozen --release -p codegraph
3237}
3338
34- check () {
35- cd " $pkgname "
36- export RUSTUP_TOOLCHAIN=stable
37- cargo test --frozen --workspace
38- }
39-
4039package () {
4140 cd " $pkgname "
4241 install -Dm755 target/release/codegraph " $pkgdir /usr/bin/codegraph"
You can’t perform that action at this time.
0 commit comments