pkgbuild.nanorc 1.4 KB

123456789101112131415161718192021222324
  1. ## Arch PKGBUILD files
  2. ##
  3. syntax "pkgbuild" "^.*PKGBUILD$"
  4. color green start="^." end="$"
  5. color brightyellow "^.*(pkgbase|pkgname|pkgver|pkgrel|pkgdesc|arch|url|license).*=.*$"
  6. color brightmagenta "\<(pkgbase|pkgname|pkgver|pkgrel|pkgdesc|arch|url|license)\>"
  7. color red "(\$|\$\{|\$\()(pkgbase|pkgname|pkgver|pkgrel|pkgdesc|arch|url|license)(\}|\))"
  8. color brightyellow "^.*(depends|makedepends|optdepends|conflicts|provides|replaces).*=.*$"
  9. color red "\<(depends|makedepends|optdepends|conflicts|provides|replaces)\>"
  10. color red "(\$|\$\{|\$\()(depends|makedepends|optdepends|conflicts|provides|replaces)(\}|\))"
  11. color brightyellow "^.*(groups|backup|noextract|options).*=.*$"
  12. color red "\<(groups|backup|noextract|options)\>"
  13. color red "(\$|\$\{|\$\()(groups|backup|noextract|options)(\}|\))"
  14. color brightyellow "^.*(install|source|md5sums|sha1sums|sha256sums|sha384sums|sha512sums).*=.*$"
  15. color red "\<(install|source|md5sums|sha1sums|sha256sums|sha384sums|sha512sums)\>"
  16. color red "(\$|\$\{|\$\()(install|source|md5sums|sha1sums|sha256sums|sha384sums|sha512sums)(\}|\))"
  17. color red "\<(startdir|srcdir|pkgdir)\>"
  18. color brightyellow "\.install"
  19. color brightwhite "=" "'" "\(" "\)" "\"" "#.*$" "\," "\{" "\}"
  20. color blue "build\(\)"
  21. color blue "package_.*.*$"
  22. color blue "\<(configure|make|cmake|scons)\>"
  23. color red "\<(DESTDIR|PREFIX|prefix|sysconfdir|datadir|libdir|includedir|mandir|infodir)\>"