2012-11-26 12:17:20 +01:00
|
|
|
## Arch PKGBUILD files
|
|
|
|
##
|
2016-03-02 20:49:58 +01:00
|
|
|
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).*=.*$"
|
|
|
|
color brightcyan "\<(pkgbase|pkgname|epoch|pkgver|pkgrel|pkgdesc|arch|url|license)\>"
|
|
|
|
color brightcyan "(\$|\$\{|\$\()(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).*=.*$"
|
|
|
|
color brightcyan "\<(depends|makedepends|optdepends|conflicts|provides|replaces)\>"
|
2013-07-23 06:24:55 +02:00
|
|
|
color brightcyan "(\$|\$\{|\$\()(depends|makedepends|optdepends|conflicts|provides|replaces)(\}|\))"
|
2017-04-15 18:41:21 +02:00
|
|
|
color cyan "^.*(groups|backup|noextract|options|validpgpkeys).*=.*$"
|
|
|
|
color brightcyan "\<(groups|backup|noextract|options|validpgpkeys)\>"
|
|
|
|
color brightcyan "(\$|\$\{|\$\()(groups|backup|noextract|options|validpgpkeys)(\}|\))"
|
2012-11-26 12:17:20 +01:00
|
|
|
color cyan "^.*(install|source|md5sums|sha1sums|sha256sums|sha384sums|sha512sums).*=.*$"
|
|
|
|
color brightcyan "\<(install|source|md5sums|sha1sums|sha256sums|sha384sums|sha512sums)\>"
|
2013-07-23 06:24:55 +02:00
|
|
|
color brightcyan "(\$|\$\{|\$\()(install|source|md5sums|sha1sums|sha256sums|sha384sums|sha512sums)(\}|\))"
|
2012-11-26 12:17:20 +01:00
|
|
|
color brightcyan "\<(startdir|srcdir|pkgdir)\>"
|
|
|
|
color cyan "\.install"
|
|
|
|
color brightwhite "=" "'" "\(" "\)" "\"" "#.*$" "\," "\{" "\}"
|
|
|
|
color brightred "build\(\)"
|
|
|
|
color brightred "package_.*.*$"
|
|
|
|
color brightred "\<(configure|make|cmake|scons)\>"
|
|
|
|
color red "\<(DESTDIR|PREFIX|prefix|sysconfdir|datadir|libdir|includedir|mandir|infodir)\>"
|
2016-06-10 21:24:25 +02:00
|
|
|
|
|
|
|
## Trailing whitespace
|
|
|
|
color ,green "[[:space:]]+$"
|