# Description: Editor based on the Scintilla editing component # URL: http://www.scintilla.org/ # Maintainer: Juergen Daubert, jue at crux dot nu # Depends on: gtk name=scite version=3.7.2 release=1 source=(http://downloads.sourceforge.net/project/scintilla/SciTE/$version/$name${version//./}.tgz) build () { cd scintilla/gtk sed -i "s/-Os/$CXXFLAGS/" makefile make cd $SRC/$name/gtk sed -i "s/-Os/$CXXFLAGS/" makefile make prefix=/usr make DESTDIR=$PKG install sed -i '/^#buffers/s/#// /^#save.recent/s/#// /^#tabbar.hide.one/s/#//' \ $PKG/usr/share/scite/SciTEGlobal.properties chmod -x $PKG/usr/share/{applications,scite}/* sed -ri '/\[.+\]=/d' $PKG/usr/share/applications/*.desktop rm -r $PKG/usr/share/scite/*.html install -D -m 644 ../doc/scite.1 $PKG/usr/share/man/man1/scite.1 ln -s SciTE $PKG/usr/bin/scite }