summaryrefslogtreecommitdiff
path: root/community/geany/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/geany/PKGBUILD')
-rw-r--r--community/geany/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/geany/PKGBUILD b/community/geany/PKGBUILD
new file mode 100644
index 000000000..b38061549
--- /dev/null
+++ b/community/geany/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 36732 2011-01-06 18:13:58Z angvp $
+# Maintainer: 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
+pkgrel=1
+pkgdesc="A fast and lightweight IDE"
+arch=('i686' 'x86_64')
+url="http://www.geany.org"
+license=('GPL')
+depends=('gtk2>=2.8.0')
+makedepends=('perlxml' 'intltool')
+optdepends=("vte: for terminal support")
+install=geany.install
+source=(http://download.geany.org/$pkgname-$pkgver.tar.gz)
+options=('!libtool')
+md5sums=('7e7d6e4a40e04ecacb9bc317f97becfb')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ # python2 fix
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' data/templates/files/main.py
+
+ ./configure --prefix=/usr
+ make
+
+ # FS#10318
+ sed -i 's|MimeType=text/plain;|MimeType=|' geany.desktop
+ # Add colors for PKGBUILD file
+ sed -i 's|Sh=|Sh=PKGBUILD;|' data/filetype_extensions.conf
+
+ make DESTDIR=${pkgdir} install
+}