add LICENSE, .gitignore, switch --gc:orc to --mm:orc, bump pkgrel
This commit is contained in:
parent
943fffbc51
commit
fecb6d0746
3 changed files with 17 additions and 12 deletions
21
.gitignore
vendored
21
.gitignore
vendored
|
|
@ -1,12 +1,17 @@
|
||||||
*.o
|
*.o
|
||||||
nimbt
|
/C
|
||||||
nimbt-daemon
|
|
||||||
nbt
|
|
||||||
nimbt_daemon
|
|
||||||
nimbt-daemon-d
|
|
||||||
nbt-d
|
|
||||||
nimbt_daemon-d
|
|
||||||
nbt-d
|
|
||||||
/D
|
/D
|
||||||
*.exe
|
*.exe
|
||||||
*.out
|
*.out
|
||||||
|
nimbt
|
||||||
|
nimbt-daemon
|
||||||
|
nimbt_daemon
|
||||||
|
nimbt-daemon-d
|
||||||
|
nbt
|
||||||
|
nbt-d
|
||||||
|
nimbt_daemon-d
|
||||||
|
nbt-d
|
||||||
|
nimbt-*.tar.gz
|
||||||
|
src/nimble/
|
||||||
|
pkg/
|
||||||
|
doc/
|
||||||
|
|
|
||||||
6
PKGBUILD
6
PKGBUILD
|
|
@ -2,7 +2,7 @@
|
||||||
# Для разработки: nimble build && sudo cp nbt nimbt-daemon /usr/bin/
|
# Для разработки: nimble build && sudo cp nbt nimbt-daemon /usr/bin/
|
||||||
pkgname=nimbt
|
pkgname=nimbt
|
||||||
pkgver=0.1.0
|
pkgver=0.1.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="Lightweight Bluetooth manager for Linux (daemon + CLI)"
|
pkgdesc="Lightweight Bluetooth manager for Linux (daemon + CLI)"
|
||||||
arch=('x86_64' 'aarch64')
|
arch=('x86_64' 'aarch64')
|
||||||
url="https://git.n1kt.ru/Niko/nim-bt"
|
url="https://git.n1kt.ru/Niko/nim-bt"
|
||||||
|
|
@ -20,11 +20,11 @@ build() {
|
||||||
export NIMBLE_DIR="$srcdir/nimble"
|
export NIMBLE_DIR="$srcdir/nimble"
|
||||||
nim c \
|
nim c \
|
||||||
--path:"$NIMBLE_DIR/pkgs2" \
|
--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
|
-o:build/nbt src/nbt.nim
|
||||||
nim c \
|
nim c \
|
||||||
--path:"$NIMBLE_DIR/pkgs2" \
|
--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
|
-o:build/nimbt-daemon src/nimbt_daemon.nim
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
--gc:orc
|
--mm:orc
|
||||||
--define:release
|
--define:release
|
||||||
--hints:off
|
--hints:off
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue