diff options
Diffstat (limited to 'development/scite/scite.SlackBuild')
-rw-r--r-- | development/scite/scite.SlackBuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/development/scite/scite.SlackBuild b/development/scite/scite.SlackBuild index b8c79bdd24cc1..60c1cedc938c0 100644 --- a/development/scite/scite.SlackBuild +++ b/development/scite/scite.SlackBuild @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=scite -VERSION=${VERSION:-3.7.4} +VERSION=${VERSION:-5.2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -71,19 +71,23 @@ set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf scite/ scintilla/ +rm -rf lexilla/ scite/ scintilla/ tar xvf $CWD/${PRGNAM}$(echo $VERSION | tr -d .).tgz -chown -R root:root scite/ scintilla/ -chmod -R u+w,go+r-w,a-s scite/ scintilla/ +chown -R root:root lexilla/ scite/ scintilla/ +chmod -R u+w,go+r-w,a-s lexilla/ scite/ scintilla/ + +cd $TMP/lexilla +make -C src cd $TMP/scintilla -make -C gtk prefix=/usr +make -C gtk prefix=/usr GTK3=1 cd $TMP/scite sed -i "s%xdg-open%$HELPBROWSER%g" src/Embedded.properties sed -i "s%xdg-open%$HELPBROWSER%g" src/SciTEGlobal.properties -make -C gtk prefix=/usr -make -C gtk install DESTDIR=$PKG +sed -i "s%/lib/scite%/lib$LIBDIRSUFFIX/scite%" gtk/makefile +make -C gtk prefix=/usr GTK3=1 +make -C gtk install GTK3=1 DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |