diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/geany/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/geany/PKGBUILD')
-rw-r--r-- | community/geany/PKGBUILD | 37 |
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 +} |