Date: Thursday, April 6, 2023 @ 16:06:29
Author: felixonmars
Revision: 1439535
archrelease: copy trunk to community-staging-x86_64
Added:
bluefish/repos/community-staging-x86_64/
bluefish/repos/community-staging-x86_64/PKGBUILD
(from rev 1439534, bluefish/trunk/PKGBUILD)
bluefish/repos/community-staging-x86_64/bluefish.install
(from rev 1439534, bluefish/trunk/bluefish.install)
bluefish/repos/community-staging-x86_64/keys/
------------------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
bluefish.install | 24 ++++++++++++++++++++++++
2 files changed, 70 insertions(+)
Copied: bluefish/repos/community-staging-x86_64/PKGBUILD (from rev 1439534,
bluefish/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-04-06 16:06:29 UTC (rev 1439535)
@@ -0,0 +1,46 @@
+# Maintainer: Filipe Laíns (FFY00) <[email protected]>
+# Contributor: Eric Bélanger <[email protected]>
+
+pkgname=bluefish
+pkgver=2.2.13
+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' 'python')
+makedepends=('gucharmap' 'intltool')
+optdepends=('gucharmap: for using the charmap plugin')
+install=$pkgname.install
+source=("https://www.bennewitz.com/$pkgname/stable/source/$pkgname-$pkgver.tar.bz2"{,.sig})
+validpgpkeys=(64979277BAFF2D4CB637AC3B291C63A6B78DFBA1) # Olivier Sessink
<[email protected]>
+sha512sums=('959a260f32c7e90ad5b3acc52eaa4a1cc979c7a41d2fa8e3b1f9bd139232c1af940bdc92c84d00b30c53389e25b2b92188cde569bc39bdda5208e1ebec20eb68'
+ 'SKIP')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ autoreconf -vi
+}
+
+build() {
+ cd $pkgname-$pkgver
+
+ ./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/community-staging-x86_64/bluefish.install (from rev
1439534, bluefish/trunk/bluefish.install)
===================================================================
--- community-staging-x86_64/bluefish.install (rev 0)
+++ community-staging-x86_64/bluefish.install 2023-04-06 16:06:29 UTC (rev
1439535)
@@ -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
+}