summaryrefslogtreecommitdiff
path: root/community/geany/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-21 00:28:39 -0700
committerroot <root@rshg054.dnsready.net>2013-05-21 00:28:39 -0700
commite3f225daecfd5cfea4af1a4e8ac4b6c46c7ec363 (patch)
treeb3e36d93c34b5b08544b1698462c06fdb99560b8 /community/geany/PKGBUILD
parent383955a81810f344e11b1472bd4c5069fa77020c (diff)
Tue May 21 00:28:39 PDT 2013
Diffstat (limited to 'community/geany/PKGBUILD')
-rw-r--r--community/geany/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/community/geany/PKGBUILD b/community/geany/PKGBUILD
index b6a270944..2e689dd5d 100644
--- a/community/geany/PKGBUILD
+++ b/community/geany/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 86000 2013-03-10 22:54:45Z arodseth $
+# $Id: PKGBUILD 91268 2013-05-20 18:58:27Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.ro>
@@ -6,7 +6,7 @@
# Contributor: Allan McRae <mcrae_allan@hotmail.com>
pkgname=geany
-pkgver=1.23
+pkgver=1.23.1
pkgrel=1
pkgdesc='Fast and lightweight IDE'
arch=('x86_64' 'i686')
@@ -20,7 +20,17 @@ optdepends=('vte: for terminal support'
install="$pkgname.install"
options=('!libtool')
source=("http://download.geany.org/$pkgname-$pkgver.tar.bz2")
-sha256sums=('cdd4a772694803c837ae59e56f7bdc2faba174509317211f522e7d25dfcbe8b0')
+sha256sums=('8815b16e59d8679ec359a1a5754fee05e77f7bca53083c939654bfc77d978fad')
+
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Python2 fix
+ sed -i '0,/on/s//on2/' data/templates/files/main.py
+
+ # Syntax highlighting for PKGBUILD files
+ sed -i 's/Sh=/Sh=PKGBUILD;/' data/filetype_extensions.conf
+}
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -28,14 +38,8 @@ build() {
./configure --prefix=/usr
make
- # Python2 fix
- sed -i '0,/on/s//on2/' data/templates/files/main.py
-
# Fix for FS#10318
setconf geany.desktop MimeType ''
-
- # Syntax highlighting for PKGBUILD files
- sed -i 's/Sh=/Sh=PKGBUILD;/' data/filetype_extensions.conf
}
package() {