1 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
6 pkgdesc="SVN version of the programmer's HTML editor written using GTK."
8 url="http://bluefish.openoffice.nl"
10 depends=('aspell>=0.60.4-2' 'libxml2' 'gtk2' 'desktop-file-utils')
11 makedepends=('intltool' 'perlxml' 'pkgconfig' 'subversion')
12 optdepends=('python: for self written extensions')
14 conflicts=('bluefish' 'bluefish-devel' 'bluefish-cvs')
15 install=$pkgname.install
19 _svntrunk=https://bluefish.svn.sourceforge.net/svnroot/bluefish/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 rm -rf "${srcdir}/$_svnmod-build"
35 cp -r "${srcdir}/$_svnmod/$_svnmod" "${srcdir}/$_svnmod-build"
36 cd "${srcdir}/$_svnmod-build"
43 --localstatedir=/var \
44 --with-freedesktop_org-menu=/usr/share/applications \
45 --with-freedesktop_org-mime=/usr/share/mime \
46 --without-gnome2_4-mime \
47 --without-gnome2_4-appreg \
48 --with-icon-path=/usr/share/pixmaps \
49 --disable-update-databases \
50 --disable-xml-catalog-update
53 make DESTDIR="${pkgdir}" install
55 rm -rf "${srcdir}/$_svnmod-build" || return 1