summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b2c88e1c43d10899c52fc426b5dbdb311eebbd0 (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>
# Maintainer: Solomon Choina <shlomochoina@gmail.com>
pkgname=bluefish-svn
pkgver=r8904
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=('gtk3' 'enchant')
makedepends=('intltool' 'perl-xml-libxml' 'pkgconfig' 'subversion' 'automake' 'autoconf' 'libtool')
optdepends=('python: for self written extensions')
provides=('bluefish')
conflicts=('bluefish')
source=(svn+svn://svn.code.sf.net/p/bluefish/code/trunk/bluefish)

pkgver() {
  cd "${srcdir}/bluefish"
  local ver="$(svnversion)"
  printf "r%s" "${ver//[[:alpha:]]}"
}

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')