nanorc/pkgbuild.nanorc

27 lines
1.4 KiB
Plaintext
Raw Normal View History

2012-11-26 12:17:20 +01:00
## Arch PKGBUILD files
##
syntax "PKGBUILD" "^.*PKGBUILD$"
2012-11-26 12:17:20 +01:00
color green start="^." end="$"
2017-01-27 20:04:06 +01:00
color cyan "^.*(pkgbase|pkgname|epoch|pkgver|pkgrel|pkgdesc|arch|url|license).*=.*$"
2018-08-09 10:09:19 +02:00
color cyan "\<(pkgbase|pkgname|epoch|pkgver|pkgrel|pkgdesc|arch|url|license)\>"
color cyan "(\$|\$\{|\$\()(pkgbase|epoch|pkgname|pkgver|pkgrel|pkgdesc|arch|url|license)(\}|\))"
2012-11-26 12:17:20 +01:00
color cyan "^.*(depends|makedepends|optdepends|conflicts|provides|replaces).*=.*$"
2018-08-09 10:09:19 +02:00
color cyan "\<(depends|makedepends|optdepends|conflicts|provides|replaces)\>"
color cyan "(\$|\$\{|\$\()(depends|makedepends|optdepends|conflicts|provides|replaces)(\}|\))"
2017-04-15 18:41:21 +02:00
color cyan "^.*(groups|backup|noextract|options|validpgpkeys).*=.*$"
2018-08-09 10:09:19 +02:00
color cyan "\<(groups|backup|noextract|options|validpgpkeys)\>"
color cyan "(\$|\$\{|\$\()(groups|backup|noextract|options|validpgpkeys)(\}|\))"
2012-11-26 12:17:20 +01:00
color cyan "^.*(install|source|md5sums|sha1sums|sha256sums|sha384sums|sha512sums).*=.*$"
2018-08-09 10:09:19 +02:00
color cyan "\<(install|source|md5sums|sha1sums|sha256sums|sha384sums|sha512sums)\>"
color cyan "(\$|\$\{|\$\()(install|source|md5sums|sha1sums|sha256sums|sha384sums|sha512sums)(\}|\))"
color cyan "\<(startdir|srcdir|pkgdir)\>"
2012-11-26 12:17:20 +01:00
color cyan "\.install"
2018-08-09 10:09:19 +02:00
color white "=" "'" "\(" "\)" "\"" "#.*$" "\," "\{" "\}"
color red "build\(\)"
color red "package_.*.*$"
color red "\<(configure|make|cmake|scons)\>"
2012-11-26 12:17:20 +01:00
color red "\<(DESTDIR|PREFIX|prefix|sysconfdir|datadir|libdir|includedir|mandir|infodir)\>"
## Trailing whitespace
color ,green "[[:space:]]+$"