summaryrefslogtreecommitdiff
path: root/community/scite/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/scite/PKGBUILD')
-rw-r--r--community/scite/PKGBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/community/scite/PKGBUILD b/community/scite/PKGBUILD
index a0248660e..0d1e79138 100644
--- a/community/scite/PKGBUILD
+++ b/community/scite/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 85517 2013-03-02 12:31:53Z arodseth $
+# $Id: PKGBUILD 88149 2013-04-12 13:59:38Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Thomas S Hatch <thatch45@gmail.com>
# Contributor: Corrado 'bardo' Primier <corrado.primier@mail.polimi.it>
@@ -6,7 +6,7 @@
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=scite
-pkgver=3.2.5
+pkgver=3.3.1
pkgrel=1
pkgdesc='Editor with facilities for building and running programs'
arch=('i686' 'x86_64' 'mips64el')
@@ -15,13 +15,11 @@ license=('custom:scite')
depends=('desktop-file-utils' 'gtk2')
makedepends=('setconf')
backup=('usr/share/scite/SciTEGlobal.properties')
-install=$pkgname.install
+install="$pkgname.install"
source=("http://downloads.sourceforge.net/sourceforge/scintilla/${pkgname}${pkgver//./}.tgz")
-sha256sums=('ac3ca9588bb23ef21da2e22f6ef21416bbd7bf6957130a8e4057b3e5f3c58bef')
-
-build() {
- cd "$srcdir"
+sha256sums=('96f1b74f728375e405a39f210b34dfabbbd2654b9c30ba886d8c3b4acbafc717')
+prepare() {
if [ $?CXXBASEFLAGS == 1 ]; then
sed '0,/CXXTFLAGS=/s//nop=/' -i scite/gtk/makefile
setconf scite/gtk/makefile CXXTFLAGS "-DNDEBUG ${CXXFLAGS} $(CXXBASEFLAGS)"
@@ -31,10 +29,11 @@ build() {
"-DNDEBUG ${CXXFLAGS} \$(CXXBASEFLAGS) \$(THREADFLAGS)"
setconf scintilla/gtk/makefile CXXBASEFLAGS \
"-Wno-missing-braces -Wno-char-subscripts ${CXXFLAGS} -DGTK -DSCI_LEXER \$(INCLUDEDIRS)"
- cd "$srcdir/scintilla/gtk"
- make
- cd "$srcdir/$pkgname/gtk"
- make
+}
+
+build() {
+ make -C "$srcdir/scintilla/gtk"
+ make -C "$srcdir/$pkgname/gtk"
}
package() {