summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1934faf938fd734d0229ebdde87ef34010e725b2 (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
38
39
40
41
42
43
44
45
46
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=bluefish-svn
pkgver=8580
pkgrel=1
pkgdesc="SVN version of the programmer's HTML editor written using GTK"
arch=('i686' 'x86_64')
url="http://bluefish.openoffice.nl/"
license=('GPL')
depends=('aspell>=0.60.4-2' 'libxml2' 'gtk2' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('intltool' 'perl-xml-libxml' 'pkgconfig' 'subversion' 'automake' 'autoconf' 'libtool')
optdepends=('python2: for self written extensions')
provides=('bluefish')
conflicts=('bluefish')
install=$pkgname.install
source=(svn+svn://svn.code.sf.net/p/bluefish/code/trunk/bluefish)

pkgver() {
  cd "${srcdir}/bluefish"
   svnversion | tr -d [A-z]
}

build() {
  cd "${srcdir}"/bluefish

  ./autogen.sh
  ./configure \
    --prefix=/usr \
    --exec-prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --with-freedesktop_org-menu=/usr/share/applications \
    --with-freedesktop_org-mime=/usr/share/mime \
    --with-icon-path=/usr/share/pixmaps \
	--enable-spell-check \
    --disable-update-databases \
    --disable-xml-catalog-update
  make
}

package() {
  cd "${srcdir}"/bluefish

  make DESTDIR="${pkgdir}" install
}
md5sums=('SKIP')