diff options
Diffstat (limited to 'community/scite')
-rw-r--r-- | community/scite/PKGBUILD | 50 | ||||
-rw-r--r-- | community/scite/scite.install | 13 |
2 files changed, 0 insertions, 63 deletions
diff --git a/community/scite/PKGBUILD b/community/scite/PKGBUILD deleted file mode 100644 index 1bbd902dd..000000000 --- a/community/scite/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# $Id: PKGBUILD 93570 2013-07-05 18:26:15Z arodseth $ -# Maintainer: Alexander Rødseth <rodseth@gmail.com> -# Contributor: Thomas S Hatch <thatch45@gmail.com> -# Contributor: Corrado 'bardo' Primier <corrado.primier@mail.polimi.it> -# Contributor: Jochem Kossen <j.kossen@home.nl> -# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> - -pkgname=scite -pkgver=3.3.3 -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=('desktop-file-utils' 'gtk2') -makedepends=('setconf') -backup=('usr/share/scite/SciTEGlobal.properties') -install="$pkgname.install" -source=("http://downloads.sourceforge.net/sourceforge/scintilla/${pkgname}${pkgver//./}.tgz") -sha256sums=('ee4d8e976d1a13657cb1b60af392cef60fbb2c441932e0398f2c9562fbcbe6a3') - -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 "$srcdir/scintilla/gtk" - make -C "$srcdir/$pkgname/gtk" -} - -package() { - cd "$srcdir/$pkgname/gtk" - - make DESTDIR="$pkgdir" install - install -Dm644 "$srcdir/$pkgname/License.txt" \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE-scite" - install -Dm644 "$srcdir/scintilla/License.txt" \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE-scintilla" - ln -sf SciTE "$pkgdir/usr/bin/scite" -} - -# vim:set ts=2 sw=2 et: diff --git a/community/scite/scite.install b/community/scite/scite.install deleted file mode 100644 index ad97d7bab..000000000 --- a/community/scite/scite.install +++ /dev/null @@ -1,13 +0,0 @@ -post_upgrade() { - update-desktop-database -q -} - -post_install() { - post_upgrade -} - -post_remove() { - post_upgrade -} - -# vim:set ts=2 sw=2 et: |