PKGBUILDs/community/geany/PKGBUILD
2009-10-09 21:15:33 -05:00

33 lines
922 B
Bash

# $Id: PKGBUILD 1359 2009-08-18 14:58:50Z ibiru $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Allan McRae <mcrae_allan@hotmail.com>
pkgname=geany
pkgver=0.18
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)
md5sums=('e5d4075dcb486d3cec958c2bac9ce8f4')
options=('!libtool')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
# FS#10318
sed -i 's|MimeType=text/plain;|MimeType=|' geany.desktop || return 1
# Add colors for PKGBUILD file
sed -i 's|Sh=|Sh=PKGBUILD;|' data/filetype_extensions.conf || return 1
make DESTDIR=${pkgdir} install || return 1
}