[arch-commits] Commit in scite/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Nov 1 10:54:45 UTC 2017


    Date: Wednesday, November 1, 2017 @ 10:54:44
  Author: arojas
Revision: 264981

Update to 4.0.2

Modified:
  scite/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-01 10:28:18 UTC (rev 264980)
+++ PKGBUILD	2017-11-01 10:54:44 UTC (rev 264981)
@@ -6,39 +6,25 @@
 # Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
 
 pkgname=scite
-pkgver=3.7.5
+pkgver=4.0.2
 pkgrel=1
 pkgdesc='Editor with facilities for building and running programs'
 arch=('x86_64' 'i686')
 url='http://www.scintilla.org/SciTE.html'
 license=('custom:scite')
-depends=('gtk2')
+depends=('gtk3')
 makedepends=('setconf')
 backup=('usr/share/scite/SciTEGlobal.properties')
 source=("http://downloads.sourceforge.net/sourceforge/scintilla/${pkgname}${pkgver//./}.tgz")
-sha256sums=('51e6861284077268d4929bb2ff9c516e2ca8914b2bd0ac315d177befe24aef86')
+sha256sums=('1f9bb8eccbaed77c110c30c0e6dbaac04b3f62b751a930192b133a7b6f0f29fb')
 
-prepare() {
-  if [ $?CXXBASEFLAGS == 1 ]; then
-    sed '0,/CXXTFLAGS=/s//nop=/' -i scite/gtk/makefile
-    setconf scite/gtk/makefile CXXTFLAGS "-DNDEBUG ${CXXFLAGS} $(CXXBASEFLAGS)"
-  fi
-
-  sed '0,/CXXFLAGS=/s//nop=/' -i scintilla/gtk/makefile
-
-  setconf scintilla/gtk/makefile CXXFLAGS \
-    "-DNDEBUG ${CXXFLAGS} \$(CXXBASEFLAGS) \$(THREADFLAGS)"
-  setconf scintilla/gtk/makefile CXXBASEFLAGS \
-    "-Wno-missing-braces -Wno-char-subscripts ${CXXFLAGS} -DGTK -DSCI_LEXER \$(INCLUDEDIRS)"
-}
-
 build() {
-  make -C "scintilla/gtk"
-  make -C "$pkgname/gtk"
+  GTK3=1 make -C "scintilla/gtk"
+  GTK3=1 make -C "$pkgname/gtk"
 }
 
 package() {
-  make -C "$pkgname/gtk" DESTDIR="$pkgdir" install
+  GTK3=1 make -C "$pkgname/gtk" DESTDIR="$pkgdir" install
   install -Dm644 "$pkgname/License.txt" \
     "$pkgdir/usr/share/licenses/$pkgname/LICENSE-scite"
   install -Dm644 "scintilla/License.txt" \



More information about the arch-commits mailing list