### this file is sourced not run
PKGVER=1.36
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=geany-$PKGVER.tar.bz2
MD5SUM=53216a43345e2b6dbefa02ac24885753
SRC_URL=http://download.geany.org/$TARBALL
BUNDLE=

SLACKREQ=gtk2
SLACKDESC='geany: geany '$PKGVER' (Text Editor / IDE)  
geany:  
geany: Geany is a Gtk2-based IDE that is not "tied" to a desktop environment 
geany: like KDevelop (KDE) and Anjuta (GNOME). It only requires Gtk runtime 
geany: libraries. Geany supports C, C++, Java, PHP, XML, HTML, Python, Perl, 
geany: and Pascal.  
geany: 
geany: 
geany: 
geany: 
geany:
'

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/geany* &&
	patch -Np1 -i ../pkg/geany-fix-terminal.patch &&
	true
}
### default pkg_package
### build
pkg_build() {
	pkg_build_autoconf && pkg_build_slackdesc &&
	rm -f /usr/share/icons/hicolor/icon-theme.cache &&
	rm -f /usr/share/icons/Tango/icon-theme.cache &&
	
	# override with ours
	install -m644 /tmp/pkg/geany.desktop /usr/share/applications
}
