Date: Thursday, January 1, 2015 @ 01:58:28 Author: eric Revision: 228275
archrelease: copy trunk to extra-x86_64 Added: bluefish/repos/extra-x86_64/PKGBUILD (from rev 228274, bluefish/trunk/PKGBUILD) bluefish/repos/extra-x86_64/bluefish.install (from rev 228274, bluefish/trunk/bluefish.install) Deleted: bluefish/repos/extra-x86_64/PKGBUILD bluefish/repos/extra-x86_64/bluefish.install ------------------+ PKGBUILD | 73 ++++++++++++++++++++++++++--------------------------- bluefish.install | 56 ++++++++++++++++++++-------------------- 2 files changed, 65 insertions(+), 64 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2015-01-01 00:57:07 UTC (rev 228274) +++ PKGBUILD 2015-01-01 00:58:28 UTC (rev 228275) @@ -1,36 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger <e...@archlinux.org> - -pkgname=bluefish -pkgver=2.2.6 -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') -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=('7742f732a4259ff927a2160a4d94e0c0a805a196' - 'SKIP') - -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 -} - -package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install -} Copied: bluefish/repos/extra-x86_64/PKGBUILD (from rev 228274, bluefish/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-01-01 00:58:28 UTC (rev 228275) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Eric Bélanger <e...@archlinux.org> + +pkgname=bluefish +pkgver=2.2.6 +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') +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=('7742f732a4259ff927a2160a4d94e0c0a805a196' + 'SKIP') +validpgpkeys=('58FD02766D031E832560A6A226073EFCDAC576E6') + +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 +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install +} Deleted: bluefish.install =================================================================== --- bluefish.install 2015-01-01 00:57:07 UTC (rev 228274) +++ bluefish.install 2015-01-01 00:58:28 UTC (rev 228275) @@ -1,28 +0,0 @@ -post_install() { - if [ ! -d etc/xml ]; then - mkdir -p etc/xml - fi - if [ ! -e etc/xml/catalog ]; then - xmlcatalog --noout --create etc/xml/catalog - fi - xmlcatalog --noout --add 'delegateURI' \ - 'http://bluefish.openoffice.nl/ns/bflang/2.0/' /usr/share/xml/bluefish \ - etc/xml/catalog - - update-desktop-database -q - update-mime-database usr/share/mime > /dev/null - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -pre_upgrade() { - post_remove -} - -post_upgrade() { - post_install -} - -post_remove() { - xmlcatalog --noout --del \ - /usr/share/xml/bluefish etc/xml/catalog -} Copied: bluefish/repos/extra-x86_64/bluefish.install (from rev 228274, bluefish/trunk/bluefish.install) =================================================================== --- bluefish.install (rev 0) +++ bluefish.install 2015-01-01 00:58:28 UTC (rev 228275) @@ -0,0 +1,28 @@ +post_install() { + if [ ! -d etc/xml ]; then + mkdir -p etc/xml + fi + if [ ! -e etc/xml/catalog ]; then + xmlcatalog --noout --create etc/xml/catalog + fi + xmlcatalog --noout --add 'delegateURI' \ + 'http://bluefish.openoffice.nl/ns/bflang/2.0/' /usr/share/xml/bluefish \ + etc/xml/catalog + + update-desktop-database -q + update-mime-database usr/share/mime > /dev/null + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + post_remove +} + +post_upgrade() { + post_install +} + +post_remove() { + xmlcatalog --noout --del \ + /usr/share/xml/bluefish etc/xml/catalog +}