[crux-commits] ports/opt (3.6): scite: update to 5.0.0

crux at crux.nu crux at crux.nu
Sun Mar 7 09:45:07 UTC 2021


commit 7471d1d6b40738f2424ed88e74e63b96f55afbec
Author: Juergen Daubert <jue at jue.li>
Date:   Sun Mar 7 10:43:08 2021 +0100

    scite: update to 5.0.0

diff --git a/scite/.footprint b/scite/.footprint
index 278e3b6fe..440f4fcdf 100644
--- a/scite/.footprint
+++ b/scite/.footprint
@@ -52,6 +52,7 @@ drwxr-xr-x	root/root	usr/share/scite/
 -rw-r--r--	root/root	usr/share/scite/forth.properties
 -rw-r--r--	root/root	usr/share/scite/fortran.properties
 -rw-r--r--	root/root	usr/share/scite/freebasic.properties
+-rw-r--r--	root/root	usr/share/scite/fsharp.properties
 -rw-r--r--	root/root	usr/share/scite/gap.properties
 -rw-r--r--	root/root	usr/share/scite/haskell.properties
 -rw-r--r--	root/root	usr/share/scite/hex.properties
diff --git a/scite/.signature b/scite/.signature
index a941cf682..98952ebcb 100644
--- a/scite/.signature
+++ b/scite/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/eJdO7hoESHyOoI1qY8TlFPO3rwihaOjmst5ZVLvOZcX1AVeStZFoGNvoeuLvGiIqIrUhMD88xTY1OkhZ/ZztQI=
-SHA256 (Pkgfile) = 351a986162a27cc79f355c7bba671209b3706e1715688f39391ec444053725d5
-SHA256 (.footprint) = 52107a23ee87efe657a0f624f210278e2e8f429a215b39f9d99b17f921013f87
-SHA256 (scite446.tgz) = 1c2e6eee6c8aa2e52983d9713a4b1c97d06c376324a3ec8932adfcb9e55d16d1
+RWSE3ohX2g5d/UIum9Y0gPqulsqaoeb7bXv3chnDjZmGs5zZc53xQtsqqQXxLJgmn7hansuLt1qJzQ9qiX/P/dnKk93Ft3bGIAU=
+SHA256 (Pkgfile) = 236878dd8fe83521f859015b8db5464239414052646e1c2e2d6c18a23342acd5
+SHA256 (.footprint) = dc6ff8b64998b1d983219609293b11a8ef45649c41659fa37ef5c60fb26b1163
+SHA256 (scite500.tgz) = 571f9b04d5a17b9842f0751e37b3bdae3786adcdb3c5de73481c8a3119871d0e
diff --git a/scite/Pkgfile b/scite/Pkgfile
index f41c1ab39..f2305a53e 100644
--- a/scite/Pkgfile
+++ b/scite/Pkgfile
@@ -1,33 +1,33 @@
 # Description: Editor based on the Scintilla editing component
-# URL:         https://www.scintilla.org/
-# Maintainer:  Juergen Daubert, jue at crux dot nu
-# Depends on:  gtk3
+# URL: https://www.scintilla.org/
+# Maintainer: Juergen Daubert, jue at crux dot nu
+# Depends on: gtk3
 
 name=scite
-version=4.4.6
+version=5.0.0
 release=1
 source=(https://downloads.sourceforge.net/project/scintilla/SciTE/$version/$name${version//./}.tgz)
 
 build () {
-    export GTK3=1
+	export GTK3=1
 
-    cd scintilla/gtk
-    sed -i "s/-Os/$CXXFLAGS/" makefile
-    make
+	sed 's/-Os//' -i {lexilla/src,scintilla/gtk,scite/gtk}/makefile
 
-    cd $SRC/$name/gtk
-    sed -i "s/-Os/$CXXFLAGS/" makefile
-    make prefix=/usr
-    make DESTDIR=$PKG install
+	make -C lexilla/src
+	make -C scintilla/gtk
 
-    sed -i '/^#buffers/s/#//
-            /^#save.recent/s/#//
-            /^#tabbar.hide.one/s/#//' \
-           $PKG/usr/share/scite/SciTEGlobal.properties
+	cd scite/gtk
+	make prefix=/usr
+	make DESTDIR=$PKG install
 
-    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
+	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
 }


More information about the crux-commits mailing list