Hi all, this package adds to jedit new edit mode for PKGBUILD file. It needs to highlight syntax. PKGBUILD ++++++ # Maintainer: Vitaliy Berdinskikh <ur6lad at gmail dot com> pkgname=jedit-pkgbuild-edit-mode pkgver=1 pkgrel=1 pkgdesc='jEdit PKGBUILD edit mode' arch=('any') url='https://bitbucket.org/ur6lad/jedit-pkgbuild' license=('GPL') depends=('jedit') makedepends=('xmlstarlet') install=jedit-pkgbuild-edit-mode.install source=('catalog.dtd', 'pkgbuild.xml') md5sums=() package() { mkdir -p $pkgdir/usr/share/$pkgname mkdir -p $pkgdir/usr/share/java/jedit/modes install -m 644 $srcdir/catalog.dtd $pkgdir/usr/share/jedit/modes/catalog.dtd install -m 644 $srcdir/pkgbuild.xml $pkgdir/usr/share/jedit/modes/pkgbuild.xml } ++++++ and the install script ++++++ post_install() { ln -s /usr/share/jedit-pkgbuild-edit-mode/catalot.dtd catalog.dtd ln -s /usr/share/java/jedit/modes/catalog catalog.xml xmlstarlet sel -Q -t -c //MODE[@FILE_NAME_GLOB=\"PKGBUILD\"] catalog.xml && xmlstarlet ed -L -d //MODE[@FILE_NAME_GLOB=\"PKGBUILD\"] catalog.xml xmlstarlet ed -s /MODES -t elem -n MODE -i //MODE[last()] -t attr -n NAME -v PKGBUILD -i //MODE[last()] -t attr -n FILE -v pkgbuild.xml -i //MODE[last()] -t attr -n FILE_NAME_GLOB -v PKGBUILD > /usr/share/java/jedit/modes/catalog rm catalog.dtd catalog.xml } pre_remove() { ln -s /usr/share/jedit-pkgbuild-edit-mode/catalot.dtd catalog.dtd xmlstarlet ed -L -d //MODE[@FILE_NAME_GLOB=\"PKGBUILD\"] catalog.xml rm catalog.dtd } ++++++ -- Regards, Vitaliy Berdikskikh AKA UR6LAD <http://ur6lad.co.ua/> 73!