[arch-commits] Commit in bluefish/repos (3 files)

Jan de Groot jgc at archlinux.org
Wed Nov 22 14:39:49 UTC 2017


    Date: Wednesday, November 22, 2017 @ 14:39:46
  Author: jgc
Revision: 310602

archrelease: copy trunk to staging-x86_64

Added:
  bluefish/repos/staging-x86_64/
  bluefish/repos/staging-x86_64/PKGBUILD
    (from rev 310601, bluefish/trunk/PKGBUILD)
  bluefish/repos/staging-x86_64/bluefish.install
    (from rev 310601, bluefish/trunk/bluefish.install)

------------------+
 PKGBUILD         |   38 ++++++++++++++++++++++++++++++++++++++
 bluefish.install |   24 ++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: bluefish/repos/staging-x86_64/PKGBUILD (from rev 310601, bluefish/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-11-22 14:39:46 UTC (rev 310602)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=bluefish
+pkgver=2.2.10
+pkgrel=2
+pkgdesc="A powerful HTML editor for experienced web designers and programmers"
+arch=('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=('abb2080b5cbc65cd9c7551572ac21012c5ee2031'
+          '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/{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
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: bluefish/repos/staging-x86_64/bluefish.install (from rev 310601, bluefish/trunk/bluefish.install)
===================================================================
--- staging-x86_64/bluefish.install	                        (rev 0)
+++ staging-x86_64/bluefish.install	2017-11-22 14:39:46 UTC (rev 310602)
@@ -0,0 +1,24 @@
+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
+}
+
+pre_upgrade() {
+  post_remove
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  xmlcatalog --noout --del \
+    /usr/share/xml/bluefish etc/xml/catalog
+}



More information about the arch-commits mailing list