blob: 931495c68e6595d172ef14287f29c31041776d83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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' 'mips64el')
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
}
|