2006-02-23 16:26:10 +01:00
|
|
|
# Description: Editor based on the Scintilla editing component
|
|
|
|
# URL: http://www.scintilla.org/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2006-02-23 16:26:10 +01:00
|
|
|
# Depends on: gtk
|
|
|
|
|
|
|
|
name=scite
|
2018-05-12 13:05:03 +02:00
|
|
|
version=4.0.5
|
2006-02-23 16:26:10 +01:00
|
|
|
release=1
|
2011-11-02 12:23:28 +01:00
|
|
|
source=(http://downloads.sourceforge.net/project/scintilla/SciTE/$version/$name${version//./}.tgz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd scintilla/gtk
|
2007-04-01 11:45:11 +02:00
|
|
|
sed -i "s/-Os/$CXXFLAGS/" makefile
|
2010-04-08 11:32:20 +02:00
|
|
|
make
|
2006-08-23 11:37:35 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
cd $SRC/$name/gtk
|
2007-04-01 11:45:11 +02:00
|
|
|
sed -i "s/-Os/$CXXFLAGS/" makefile
|
2010-04-08 11:32:20 +02:00
|
|
|
make prefix=/usr
|
2009-04-29 16:05:58 +02:00
|
|
|
make DESTDIR=$PKG install
|
2008-10-20 17:07:10 +02:00
|
|
|
|
2006-02-23 16:26:10 +01:00
|
|
|
sed -i '/^#buffers/s/#//
|
|
|
|
/^#save.recent/s/#//
|
|
|
|
/^#tabbar.hide.one/s/#//' \
|
|
|
|
$PKG/usr/share/scite/SciTEGlobal.properties
|
|
|
|
|
2007-04-01 11:45:11 +02:00
|
|
|
chmod -x $PKG/usr/share/{applications,scite}/*
|
2008-10-20 17:07:10 +02:00
|
|
|
sed -ri '/\[.+\]=/d' $PKG/usr/share/applications/*.desktop
|
2007-04-01 11:45:11 +02:00
|
|
|
rm -r $PKG/usr/share/scite/*.html
|
2016-03-13 12:23:55 +01:00
|
|
|
install -D -m 644 ../doc/scite.1 $PKG/usr/share/man/man1/scite.1
|
2006-02-23 16:26:10 +01:00
|
|
|
ln -s SciTE $PKG/usr/bin/scite
|
|
|
|
}
|