summaryrefslogtreecommitdiff
path: root/community/scite
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-07 00:01:55 +0000
committerroot <root@rshg054.dnsready.net>2012-06-07 00:01:55 +0000
commit334c2a7916a80d08b1c216cfbf02135e64891632 (patch)
treed5ed69695fb4da7349d218aa56fa4403017b7e9c /community/scite
parent664b1c2195b2884102cc2d5a56a13702f8ee44fe (diff)
Thu Jun 7 00:01:54 UTC 2012
Diffstat (limited to 'community/scite')
-rw-r--r--community/scite/PKGBUILD11
-rw-r--r--community/scite/scite.install8
2 files changed, 7 insertions, 12 deletions
diff --git a/community/scite/PKGBUILD b/community/scite/PKGBUILD
index 54a6f38bd..4a9fdb879 100644
--- a/community/scite/PKGBUILD
+++ b/community/scite/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 70700 2012-05-15 08:39:01Z arodseth $
+# $Id: PKGBUILD 72018 2012-06-05 20:13:19Z 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.1.0
+pkgver=3.2.0
pkgrel=1
pkgdesc='Editor with facilities for building and running programs'
arch=('x86_64' 'i686')
@@ -17,7 +17,7 @@ makedepends=('setconf')
backup=('usr/share/scite/SciTEGlobal.properties')
install=$pkgname.install
source=("http://downloads.sourceforge.net/sourceforge/scintilla/${pkgname}${pkgver//./}.tgz")
-sha256sums=('09b020a331f7c54edd731440fa1c717776021d5dc775e58965f8ef71673202e3')
+sha256sums=('2734a61acd823831e870b6ce04a39f6d163e83f93096044c66ff36be5bbcdf2e')
build() {
cd "$srcdir"
@@ -26,14 +26,11 @@ build() {
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 "-Wall -Wno-missing-braces -Wno-char-subscripts -pedantic ${CXXFLAGS} -DGTK -DSCI_LEXER \$(INCLUDEDIRS)"
-
cd "$srcdir/scintilla/gtk"
make
-
cd "$srcdir/$pkgname/gtk"
make
}
@@ -42,12 +39,10 @@ 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"
}
diff --git a/community/scite/scite.install b/community/scite/scite.install
index 686b22022..ad97d7bab 100644
--- a/community/scite/scite.install
+++ b/community/scite/scite.install
@@ -1,13 +1,13 @@
-post_install() {
+post_upgrade() {
update-desktop-database -q
}
-post_upgrade() {
- post_install $1
+post_install() {
+ post_upgrade
}
post_remove() {
- post_install $1
+ post_upgrade
}
# vim:set ts=2 sw=2 et: