summaryrefslogtreecommitdiff
path: root/community/geany/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-10 23:14:36 +0000
committerroot <root@rshg054.dnsready.net>2011-10-10 23:14:36 +0000
commitcbcf42aba84733e1b9072f5320519c99bf8c0ac7 (patch)
treea329670cb53aabe42cc50ef6cda1e534d4dfbabf /community/geany/PKGBUILD
parent8e372cc6207b56516c1facdaeb92d15c4716d8a2 (diff)
Mon Oct 10 23:14:36 UTC 2011
Diffstat (limited to 'community/geany/PKGBUILD')
-rw-r--r--community/geany/PKGBUILD40
1 files changed, 23 insertions, 17 deletions
diff --git a/community/geany/PKGBUILD b/community/geany/PKGBUILD
index b38061549..1d2371c4b 100644
--- a/community/geany/PKGBUILD
+++ b/community/geany/PKGBUILD
@@ -1,37 +1,43 @@
-# $Id: PKGBUILD 36732 2011-01-06 18:13:58Z angvp $
-# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# $Id: PKGBUILD 56636 2011-10-09 11:13:50Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.ro>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Allan McRae <mcrae_allan@hotmail.com>
-
pkgname=geany
-pkgver=0.20
+pkgver=0.21
pkgrel=1
-pkgdesc="A fast and lightweight IDE"
-arch=('i686' 'x86_64')
-url="http://www.geany.org"
+pkgdesc="Fast and lightweight IDE"
+arch=('x86_64' 'i686')
+url="http://www.geany.org/"
license=('GPL')
-depends=('gtk2>=2.8.0')
+depends=('gtk2' 'hicolor-icon-theme' 'desktop-file-utils' 'python2')
makedepends=('perlxml' 'intltool')
optdepends=("vte: for terminal support")
install=geany.install
-source=(http://download.geany.org/$pkgname-$pkgver.tar.gz)
+source=("http://download.geany.org/${pkgname}-${pkgver}.tar.gz")
options=('!libtool')
-md5sums=('7e7d6e4a40e04ecacb9bc317f97becfb')
+md5sums=('d2734776badc3f5f9a778814ed56fb8a')
build() {
- cd ${srcdir}/$pkgname-$pkgver
-
- # python2 fix
- sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' data/templates/files/main.py
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ msg2 "Configuring..."
./configure --prefix=/usr
+ msg2 "Compiling..."
make
-
- # FS#10318
+ msg2 "Python2 fix..."
+ sed -i '0,/on/s//on2/' data/templates/files/main.py
+ msg2 "Fixing FS#10318..."
sed -i 's|MimeType=text/plain;|MimeType=|' geany.desktop
- # Add colors for PKGBUILD file
+ msg2 "Enabling colors for PKGBUILD files..."
sed -i 's|Sh=|Sh=PKGBUILD;|' data/filetype_extensions.conf
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR=${pkgdir} install
}
+
+# vim:set ts=2 sw=2 et: