summaryrefslogtreecommitdiff
path: root/community/drivel
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-04-19 12:40:04 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2013-04-19 12:40:04 +0200
commitd186e96728bff4cc4873c59d48d01fe6eefe6131 (patch)
tree1eefcef8058414b07b2750f52d9746f5323472ff /community/drivel
parent84c217e2d9acc64713978324761816e2468b5292 (diff)
parent1fedf1f5d5351aefd88268cba7353c79adac9b8a (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/collectd/PKGBUILD community/drivel/PKGBUILD community/fcitx-mozc/PKGBUILD community/gnomesu/PKGBUILD community/gnuchess/PKGBUILD community/gphpedit/PKGBUILD community/gsql/PKGBUILD community/libmatchbox/PKGBUILD community/lockfile-progs/PKGBUILD community/opencc/PKGBUILD community/roxterm/PKGBUILD community/uriparser/PKGBUILD community/xcircuit/PKGBUILD core/bison/PKGBUILD core/curl/PKGBUILD core/expat/PKGBUILD core/gcc/PKGBUILD core/gpm/PKGBUILD core/m4/PKGBUILD core/systemd/PKGBUILD core/tar/PKGBUILD extra/alsa-lib/PKGBUILD extra/alsa-utils/PKGBUILD extra/bitlbee/PKGBUILD extra/chkrootkit/PKGBUILD extra/fakechroot/PKGBUILD extra/farstream/PKGBUILD extra/freeglut/PKGBUILD extra/gob2/PKGBUILD extra/libcdio-paranoia/PKGBUILD extra/liblqr/PKGBUILD extra/libnl1/PKGBUILD extra/libpst/PKGBUILD extra/libwpd/PKGBUILD extra/xorg-server/PKGBUILD
Diffstat (limited to 'community/drivel')
-rw-r--r--community/drivel/PKGBUILD15
-rw-r--r--community/drivel/drivel.install13
2 files changed, 20 insertions, 8 deletions
diff --git a/community/drivel/PKGBUILD b/community/drivel/PKGBUILD
index 16057a69d..3c12768c5 100644
--- a/community/drivel/PKGBUILD
+++ b/community/drivel/PKGBUILD
@@ -1,24 +1,27 @@
-# $Id: PKGBUILD 65140 2012-02-20 05:01:22Z spupykin $
+# $Id: PKGBUILD 88291 2013-04-16 00:57:51Z bgyorgy $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# old Maintainer: Andrei "Garoth" Thorp <my-username at gmail dot com>
# Contributor: Alexandr Nevskiy <kepkin@gmail.com>
pkgname=drivel
pkgver=3.0.3
-pkgrel=2
+pkgrel=3
pkgdesc="GTK client for working with online journals (blogs)."
-url="http://www.dropline.net/drivel/index.php"
+url="http://drivel.sourceforge.net/"
arch=('i686' 'x86_64' 'mips64el')
license=("GPL")
-depends=('curl' 'gtksourceview2' 'gtkspell' 'libgnomeui>=2.0.0' 'libsoup')
-makedepends=('perlxml' 'pkgconfig' 'intltool>=0.21' 'gnome-doc-utils>=0.3.2')
+depends=('curl' 'gnome-vfs' 'gtksourceview2' 'gtkspell' 'libsoup' 'desktop-file-utils')
+makedepends=('intltool>=0.21' 'gnome-doc-utils>=0.3.2')
install=drivel.install
source=(http://downloads.sourceforge.net/drivel/$pkgname-$pkgver.tar.gz)
md5sums=('295a583d6ed652ab591070245283fb5b')
build() {
cd $srcdir/$pkgname-$pkgver
- LDFLAGS=-lm ./configure --prefix=/usr --sysconfdir=/etc
+ sed -i 's/ -Werror//' configure
+ LDFLAGS=-lm ./configure --prefix=/usr --sysconfdir=/etc \
+ --disable-desktop-update --disable-schemas-install \
+ --with-gconf-schema-file-dir=/usr/share/gconf/schemas
make
}
diff --git a/community/drivel/drivel.install b/community/drivel/drivel.install
index 47f683f79..cbb2491ce 100644
--- a/community/drivel/drivel.install
+++ b/community/drivel/drivel.install
@@ -1,13 +1,22 @@
+pkgname=drivel
+
post_install() {
- [ -e /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache -q -t -f usr/share/icons
+ usr/sbin/gconfpkg --install ${pkgname}
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
+ update-mime-database usr/share/mime
}
post_upgrade() {
post_install $1
}
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
post_remove() {
- [ -e /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache -q -t -f usr/share/icons
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
update-desktop-database -q
+ update-mime-database usr/share/mime
}