Copy that slkbuild.nanorc file to /usr/share/nano/ :
Code: Select all
## SalixOS SLKBUILD files
##
syntax "slkbuild" "^.*SLKBUILD$"
color white start="^." end="$"
icolor brightwhite "=" "'" "\(" "\)" "\"" "#.*$" "\," "\{" "\}"
icolor brightblue "^[[:space:]]*#.*$"
color green "^.*(pkgname|pkgver|pkgrel|arch|source|sourcetemplate|docs|url|options|dotnew).*=.*$"
color brightgreen "\<(pkgname|pkgver|pkgrel|arch|source|sourcetemplate|docs|url|options|dotnew|startdir|pkg|src)\>"
color brightgreen "(\$|\$\{|\$\()(pkgname|pkgver|pkgrel|arch|source|sourcetemplate|docs|url|options|dotnew|startdir|pkg|sr)(|\}|\))"
color brightyellow "\<(slackdesc)\>"
color brightyellow "doinst\(\)"
color brightyellow "build\(\)"
color brightred "\<(configure|make|cmake|scons|waf)\>"
color red "\<(DESTDIR|PREFIX|INSTALLDIRS)\>"
Code: Select all
## SLKBUILD
include "/usr/share/nano/slkbuild.nanorc"