# $Id: PKGBUILD 109615 2014-04-16 19:38:06Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Angel Velasquez # Contributor: Ionut Biru # Contributor: William Rea # Contributor: Allan McRae pkgname=geany pkgver=1.24.1 pkgrel=1 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=('geany-plugins: various extra features' 'vte: terminal support' 'python2') install="$pkgname.install" source=("http://download.geany.org/$pkgname-$pkgver.tar.bz2") sha256sums=('7fb505d9b01fe6874890525f837644a6a38c23a372bb068c65ef3673108a8c33') prepare() { cd "$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 "$pkgname-$pkgver" ./configure --prefix=/usr make # Fix for FS#10318 setconf geany.desktop MimeType '' } package() { make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install } # vim:set ts=2 sw=2 et: