# $Id: PKGBUILD 76751 2012-09-28 23:09:27Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Angel Velasquez # Contributor: Ionut Biru # Contributor: William Rea # Contributor: Allan McRae pkgname=geany pkgver=1.22 pkgrel=2 pkgdesc='Fast and lightweight IDE' arch=('x86_64' 'i686') url="http://www.geany.org/" license=('GPL') depends=('gtk2' 'hicolor-icon-theme' 'desktop-file-utils') makedepends=('perlxml' 'setconf' 'intltool') optdepends=('vte: for terminal support' 'python2') install=geany.install source=("http://download.geany.org/$pkgname-$pkgver.tar.bz2") options=('!libtool') sha256sums=('901a35a7395ef10a80fb10b3ab63bae3871693a4e82d56388e9521a27877577e') build() { cd "$srcdir/$pkgname-$pkgver" msg2 "Configuring..." ./configure --prefix=/usr msg2 "Compiling..." make msg2 "Python2 fix..." sed -i '0,/on/s//on2/' data/templates/files/main.py msg2 "Fixing FS#10318..." setconf geany.desktop MimeType '' msg2 "Enabling colors for PKGBUILD files..." setconf data/filetype_extensions.conf Sh PKGBUILD } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: