Date: Saturday, February 1, 2014 @ 06:28:59 Author: eric Revision: 204943
upgpkg: bluefish 2.2.5-1 Upstream update, Remove hicolor-icon-theme depends, Add prepare function Modified: bluefish/trunk/PKGBUILD ----------+ PKGBUILD | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-02-01 04:52:42 UTC (rev 204942) +++ PKGBUILD 2014-02-01 05:28:59 UTC (rev 204943) @@ -2,26 +2,29 @@ # Maintainer: Eric Bélanger <[email protected]> pkgname=bluefish -pkgver=2.2.4 +pkgver=2.2.5 pkgrel=1 pkgdesc="A powerful HTML editor for experienced web designers and programmers" arch=('i686' 'x86_64') url="http://bluefish.openoffice.nl/" license=('GPL3') -depends=('gtk3' 'enchant' 'python2' 'desktop-file-utils' 'hicolor-icon-theme') +depends=('gtk3' 'enchant' 'python2' 'desktop-file-utils') makedepends=('gucharmap' 'intltool') optdepends=('gucharmap: for using the charmap plugin') install=bluefish.install source=(http://www.bennewitz.com/bluefish/stable/source/bluefish-${pkgver}.tar.bz2{,.sig}) -sha1sums=('b65310617b5fd525a8c57f7681e023f6f4496378' - '6ff0474602c520e2a638436c5423957cfe4be4d0') +sha1sums=('efdd577a20a439e58f14f68e725f00be230d5de1' + 'SKIP') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" +prepare() { + cd ${pkgname}-${pkgver} sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \ src/plugin_zencoding/zencoding/{,filters/,actions/}*.py \ data/{cssmin.py,jsbeautify,jsmin.py,lorem-ipsum-generator} - +} + +build() { + cd ${pkgname}-${pkgver} PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --enable-spell-check --disable-update-databases --disable-xml-catalog-update make @@ -28,6 +31,6 @@ } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }
