1 # Maintainer: Joao Cordeiro <jlcordeiro at gmail dot com>
2 # Contributor: Addict7 <nicolasfloquet@gmail.com>
3 # Contributor: liquibyte <liquibyte@gmail.com>
7 pkgdesc="A fast and lightweight IDE"
9 url="http://geany.uvena.de"
11 depends=('gtk2' 'libtool' 'gettext')
12 makedepends=('subversion' 'intltool' 'autoconf' 'automake')
13 provides=('geany' 'geany=0.21')
19 _svntrunk=https://geany.svn.sourceforge.net/svnroot/geany/trunk
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
31 msg "SVN checkout done or server timeout"
32 msg "Starting make..."
34 cp -r $_svnmod $_svnmod-build
37 ./autogen.sh --prefix=/usr
38 make CFLAGS="$CFLAGS -DGEANY_DISABLE_DEPRECATED" || return 1
39 make DESTDIR=$startdir/pkg/ install
40 sed -i 's|Sh=|Sh=PKGBUILD;|' $startdir/pkg/usr/share/geany/filetype_extensions.conf
42 rm -rf $startdir/src/$_svnmod-build