summaryrefslogtreecommitdiff
path: root/community/scite/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/scite/PKGBUILD')
-rw-r--r--community/scite/PKGBUILD34
1 files changed, 16 insertions, 18 deletions
diff --git a/community/scite/PKGBUILD b/community/scite/PKGBUILD
index 8a5cdc1ed..61fd279d6 100644
--- a/community/scite/PKGBUILD
+++ b/community/scite/PKGBUILD
@@ -1,21 +1,21 @@
+# $Id: PKGBUILD 59256 2011-11-22 03:57:15Z ebelanger $
# Maintainer: 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=2.29
+pkgver=3.0.1
pkgrel=1
pkgdesc='A generally useful editor with facilities for building and running programs.'
arch=('i686' 'x86_64')
url='http://www.scintilla.org/SciTE.html'
license=('custom:scite')
-depends=('desktop-file-utils' 'gtk2' 'glib2')
-backup=(usr/share/scite/SciTEGlobal.properties)
+depends=('desktop-file-utils' 'gtk2')
+backup=('usr/share/scite/SciTEGlobal.properties')
install=scite.install
-source=("http://downloads.sourceforge.net/sourceforge/scintilla/${pkgname}${pkgver/\./}.tgz"
- 'SciTE.desktop'
- 'makefile.patch')
+source=("http://downloads.sourceforge.net/sourceforge/scintilla/${pkgname}${pkgver//./}.tgz")
+md5sums=('e2ed3190ebf714f037d05cde7b9591de')
build() {
sed "s/CXXTFLAGS=-DNDEBUG -Os $(CXXBASEFLAGS)/CXXTFLAGS=-DNDEBUG ${CXXFLAGS} $(CXXBASEFLAGS)/" -i scite/gtk/makefile
@@ -24,24 +24,22 @@ build() {
sed "s/CXXFLAGS=-DNDEBUG -Os \$(CXXBASEFLAGS) \$(THREADFLAGS)/CXXFLAGS=-DNDEBUG ${CXXFLAGS} \$(CXXBASEFLAGS) \$(THREADFLAGS)/" -i scintilla/gtk/makefile
- cd scintilla/gtk
+ cd "${srcdir}/scintilla/gtk"
make
- install -Dm644 ../License.txt \
- ${pkgdir}/usr/share/licenses/scintilla/LICENSE
- cd ${srcdir}/${pkgname}/gtk
+ cd "${srcdir}/${pkgname}/gtk"
make
+}
- make DESTDIR=${pkgdir} install
+package() {
+ cd "${srcdir}/${pkgname}/gtk"
- install -D -m644 ../License.txt \
- ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ make DESTDIR="${pkgdir}" install
- install -D -m644 ${srcdir}/SciTE.desktop \
- ${pkgdir}/usr/share/applications/
+ install -D -m644 ../License.txt \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-scite"
+ install -D -m644 "${srcdir}/scintilla/License.txt" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-scintilla"
ln -sf SciTE ${pkgdir}/usr/bin/scite
}
-md5sums=('55858b96c4ad64b38503682ff49d184e'
- '48526532ef677982a4b156ae90f25b6f'
- '87005d4c7262a1a698cde0628dc7e2a2')