add LICENSE, .gitignore, switch --gc:orc to --mm:orc, bump pkgrel

This commit is contained in:
Niko Marmeladkov 2026-05-30 10:41:18 +03:00
parent 943fffbc51
commit fecb6d0746
3 changed files with 17 additions and 12 deletions

21
.gitignore vendored
View file

@ -1,12 +1,17 @@
*.o
nimbt
nimbt-daemon
nbt
nimbt_daemon
nimbt-daemon-d
nbt-d
nimbt_daemon-d
nbt-d
/C
/D
*.exe
*.out
nimbt
nimbt-daemon
nimbt_daemon
nimbt-daemon-d
nbt
nbt-d
nimbt_daemon-d
nbt-d
nimbt-*.tar.gz
src/nimble/
pkg/
doc/

View file

@ -2,7 +2,7 @@
# Для разработки: nimble build && sudo cp nbt nimbt-daemon /usr/bin/
pkgname=nimbt
pkgver=0.1.0
pkgrel=1
pkgrel=2
pkgdesc="Lightweight Bluetooth manager for Linux (daemon + CLI)"
arch=('x86_64' 'aarch64')
url="https://git.n1kt.ru/Niko/nim-bt"
@ -20,11 +20,11 @@ build() {
export NIMBLE_DIR="$srcdir/nimble"
nim c \
--path:"$NIMBLE_DIR/pkgs2" \
--gc:orc -d:release --opt:speed --hints:off \
--mm:orc -d:release --opt:speed --hints:off \
-o:build/nbt src/nbt.nim
nim c \
--path:"$NIMBLE_DIR/pkgs2" \
--gc:orc -d:release --opt:speed --hints:off \
--mm:orc -d:release --opt:speed --hints:off \
-o:build/nimbt-daemon src/nimbt_daemon.nim
}

View file

@ -1,3 +1,3 @@
--gc:orc
--mm:orc
--define:release
--hints:off