# $Id: PKGBUILD 162427 2012-06-27 03:30:42Z eric $ # Maintainer: Eric BĂ©langer pkgname=bluefish pkgver=2.2.3 pkgrel=1 pkgdesc="A powerful HTML editor for experienced web designers and programmers" arch=('i686' 'x86_64' 'mips64el') url="http://bluefish.openoffice.nl/" license=('GPL3') depends=('gtk3' 'enchant' 'desktop-file-utils' 'hicolor-icon-theme') makedepends=('gucharmap' 'intltool') optdepends=('gucharmap: for using the charmap plugin') options=('!libtool') install=bluefish.install source=(http://www.bennewitz.com/bluefish/stable/source/bluefish-${pkgver}.tar.bz2{,.sig}) sha1sums=('181f28b595f6259441eb13f4aaae60def596b980' 'e8c4e3ba0623e476adeb8bf8466044894aa034c8') build() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \ src/plugin_zencoding/zencoding/{,filters/,actions/}*.py data/lorem-ipsum-generator PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --enable-spell-check --disable-update-databases --disable-xml-catalog-update make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }