Improve PKGBUILD #4
9
PKGBUILD
9
PKGBUILD
|
@ -24,12 +24,19 @@ sha256sums=('SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
prepare() {
|
prepare() {
|
||||||
|
# Disable telemetry in choosenim if user is running it for the first time
|
||||||
|
[ -f "$HOME"/.choosenim/analytics ] || {
|
||||||
|
mkdir -p "$HOME"/.choosenim
|
||||||
|
touch "$HOME"/.choosenim/analytics
|
||||||
|
}
|
||||||
echo 'Install Nim if not already installed:'
|
echo 'Install Nim if not already installed:'
|
||||||
choosenim stable
|
choosenim stable
|
||||||
echo 'Update Nim to the latest stable release:'
|
echo 'Update Nim to the latest stable release:'
|
||||||
choosenim update stable
|
choosenim update stable
|
||||||
|
echo 'Refresh nimble package list:'
|
||||||
|
"$HOME"/.nimble/bin/nimble --nim:"$HOME"/.nimble/bin/nim refresh
|
||||||
echo 'Install owlkettle from the latest git commit:'
|
echo 'Install owlkettle from the latest git commit:'
|
||||||
"$HOME"/.nimble/bin/nimble install owlkettle@#head
|
"$HOME"/.nimble/bin/nimble --nim:"$HOME"/.nimble/bin/nim install owlkettle@#head
|
||||||
}
|
}
|
||||||
build(){
|
build(){
|
||||||
echo 'Compile themeSwitcher.nim for release build:'
|
echo 'Compile themeSwitcher.nim for release build:'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user