[arch-commits] CVS update of extra/editors/scite (3 files)
Eric Belanger
eric at archlinux.org
Sat Jun 9 23:46:08 UTC 2007
Date: Saturday, June 9, 2007 @ 19:46:08
Author: eric
Path: /home/cvs-extra/extra/editors/scite
Removed: PKGBUILD (1.39) makefile.patch (1.1) scite.install (1.1)
repo cleanup, moved to community repo.
----------------+
PKGBUILD | 45 ---------------------------------------------
makefile.patch | 37 -------------------------------------
scite.install | 22 ----------------------
3 files changed, 104 deletions(-)
Index: extra/editors/scite/PKGBUILD
diff -u extra/editors/scite/PKGBUILD:1.39 extra/editors/scite/PKGBUILD:removed
--- extra/editors/scite/PKGBUILD:1.39 Mon Apr 16 16:54:44 2007
+++ extra/editors/scite/PKGBUILD Sat Jun 9 19:46:08 2007
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD,v 1.39 2007/04/16 20:54:44 alexander Exp $
-# Maintainer: dorphell <dorphell at archlinux.org>
-# Contributor: Jochem Kossen <j.kossen at home.nl>
-
-pkgname=scite
-pkgver=1.73
-pkgrel=1
-pkgdesc="A generally useful editor with facilities for building and running programs."
-arch=(i686 x86_64)
-depends=('gtk2' 'desktop-file-utils')
-makedepends=('unzip')
-license=('custom')
-source=(http://dl.sourceforge.net/sourceforge/scintilla/${pkgname}${pkgver/\./}.zip
- makefile.patch)
-install=${pkgname}.install
-url="http://www.scintilla.org/SciTE.html"
-md5sums=('54a0f1106f6dd8d92220865a166b9cbd')
-
-build() {
- cd ${startdir}/src
- patch -Np0 -i ${startdir}/src/makefile.patch || return 1
-
- cd ${startdir}/src/scintilla/gtk
- sed "s/#ARCHCXXFLAGS#/${CXXFLAGS}/g" -i makefile
- make || return 1
- install -D -m644 ../License.txt ${startdir}/pkg/usr/share/licenses/scintilla/LICENSE
- cd ${startdir}/src/${pkgname}/gtk
- sed "s/#ARCHCXXFLAGS#/${CXXFLAGS}/g" -i makefile
- make || return 1
- make DESTDIR=${startdir}/pkg install
- install -D -m644 ../License.txt ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE
- ln -sf SciTE ${startdir}/pkg/usr/bin/scite
-
- # install a nice and working .desktop file
- sed -i 's|^Categories=.*$|Categories=GTK;Application;Utility;TextEditor;|' \
- ${startdir}/pkg/usr/share/applications/SciTE.desktop
- echo -e "MimeType=text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;\
-text/x-c++;text/x-chdr;text/x-csrc;text/x-c;text/x-objc;text/x-java;\
-text/x-pascal;text/x-perl;text/x-python;text/x-php;text/x-php-source;\
-text/x-tcl;text/x-tex;application/x-shellscript;text/xml;text/html;text/css;" \
- >> ${startdir}/pkg/usr/share/applications/SciTE.desktop
- chmod 644 ${startdir}/pkg/usr/share/applications/SciTE.desktop
-}
-md5sums=('e86e4c08aee69bb152175507eff05217'
- 'e03eed090c7388fa7761eac24fa21220')
Index: extra/editors/scite/makefile.patch
diff -u extra/editors/scite/makefile.patch:1.1 extra/editors/scite/makefile.patch:removed
--- extra/editors/scite/makefile.patch:1.1 Mon Apr 16 16:55:22 2007
+++ extra/editors/scite/makefile.patch Sat Jun 9 19:46:08 2007
@@ -1,37 +0,0 @@
---- scite/gtk/makefile.orig 2007-04-16 21:29:38.000000000 +0200
-+++ scite/gtk/makefile 2007-04-16 21:30:24.000000000 +0200
-@@ -56,12 +56,12 @@
-
- #CXXFLAGS= -g -DGTK -DSCI_LEXER -DSYSCONF_PATH=\"$(SYSCONF_PATH)\" -Wwrite-strings
- INCLUDEDIRS=-I ../../scintilla/include -I ../src
--CXXBASEFLAGS=-W -Wall -pedantic -Os -DGTK -DSCI_LEXER -DPIXMAP_PATH=\"$(pixmapdir)\" -DSYSCONF_PATH=\"$(SYSCONF_PATH)\" $(INCLUDEDIRS)
-+CXXBASEFLAGS=-W -Wall -pedantic -DGTK -DSCI_LEXER -DPIXMAP_PATH=\"$(pixmapdir)\" -DSYSCONF_PATH=\"$(SYSCONF_PATH)\" $(INCLUDEDIRS)
-
- ifdef DEBUG
- CXXTFLAGS=-DDEBUG -g $(CXXBASEFLAGS)
- else
--CXXTFLAGS=-DNDEBUG -Os $(CXXBASEFLAGS)
-+CXXTFLAGS=-DNDEBUG #ARCHCXXFLAGS# $(CXXBASEFLAGS)
- endif
-
- ifndef NO_LUA
---- scintilla/gtk/makefile.orig 2007-04-16 21:32:14.000000000 +0200
-+++ scintilla/gtk/makefile 2007-04-16 21:32:40.000000000 +0200
-@@ -23,7 +23,7 @@
- vpath %.cxx ../src
-
- INCLUDEDIRS=-I ../include -I ../src
--CXXBASEFLAGS=-Wall -Wno-missing-braces -Wno-char-subscripts -pedantic -Os -DGTK -DSCI_LEXER $(INCLUDEDIRS)
-+CXXBASEFLAGS=-Wall -Wno-missing-braces -Wno-char-subscripts -pedantic #ARCHCXXFLAGS# -DGTK -DSCI_LEXER $(INCLUDEDIRS)
-
- ifdef NOTHREADS
- THREADFLAGS=-DG_THREADS_IMPL_NONE
-@@ -34,7 +34,7 @@
- ifdef DEBUG
- CXXFLAGS=-DDEBUG -g $(CXXBASEFLAGS) $(THREADFLAGS)
- else
--CXXFLAGS=-DNDEBUG -Os $(CXXBASEFLAGS) $(THREADFLAGS)
-+CXXFLAGS=-DNDEBUG $(CXXBASEFLAGS) $(THREADFLAGS)
- endif
-
- # If explicit setting of GTK1 or GTK2 then use that else look for
Index: extra/editors/scite/scite.install
diff -u extra/editors/scite/scite.install:1.1 extra/editors/scite/scite.install:removed
--- extra/editors/scite/scite.install:1.1 Mon Jun 6 17:25:13 2005
+++ extra/editors/scite/scite.install Sat Jun 9 19:46:08 2007
@@ -1,22 +0,0 @@
-post_install() {
- echo "update desktop and mime database..."
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- /bin/true
-}
-
-post_remove() {
- echo "update desktop and mime database..."
- update-desktop-database -q
-}
-
-op=$1
-shift
-
-$op $*
More information about the arch-commits
mailing list