summaryrefslogtreecommitdiff
path: root/community/activity-log-manager/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/activity-log-manager/PKGBUILD')
-rw-r--r--community/activity-log-manager/PKGBUILD21
1 files changed, 16 insertions, 5 deletions
diff --git a/community/activity-log-manager/PKGBUILD b/community/activity-log-manager/PKGBUILD
index fe049f0fe..1d860b203 100644
--- a/community/activity-log-manager/PKGBUILD
+++ b/community/activity-log-manager/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 79127 2012-10-30 23:07:25Z heftig $
+# $Id: PKGBUILD 79218 2012-11-01 09:45:30Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Ner0
pkgname=activity-log-manager
pkgver=0.9.4
-pkgrel=2
+pkgrel=3
pkgdesc="A graphical user interface which lets you easily control what gets logged by Zeitgeist"
arch=('i686' 'x86_64')
url="https://launchpad.net/activity-log-manager"
@@ -13,12 +13,16 @@ depends=('gtk3' 'libgee' 'libzeitgeist' 'zeitgeist' 'hicolor-icon-theme' 'xdg-ut
makedepends=('vala' 'intltool')
install=$pkgname.install
source=(https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz
- http://pkgbuild.com/~bgyorgy/sources/$pkgname-translations-20121021.tar.gz)
+ http://pkgbuild.com/~bgyorgy/sources/$pkgname-translations-20121021.tar.gz
+ fix-crash.patch
+ config.vapi)
md5sums=('cf85aecdaa6c0188a53d659709e1f8cd'
- '6167df74ce44659aa94a89f31ff4d351')
+ '6167df74ce44659aa94a89f31ff4d351'
+ '1052dec3691826f01fa3d4fd84284ccc'
+ 'fecc5ac50dfcd79c4c8d54599760d225')
build() {
- cd $pkgname-$pkgver
+ cd "$srcdir/$pkgname-$pkgver"
# Fix docdir location
sed -i 's/almdocdir =.*/almdocdir = ${docdir}/' Makefile.{am,in}
@@ -28,6 +32,13 @@ build() {
rename $pkgname- '' ../po/$pkgname-*.po
mv -f -t po ../po/*
+ # Fix crash with GTK+ 3.6
+ # https://bugs.launchpad.net/activity-log-manager/+bug/1058037
+ patch -Np1 -i "$srcdir/fix-crash.patch"
+
+ # We need this file for build
+ mv "$srcdir/config.vapi" "$srcdir/$pkgname-$pkgver/src"
+
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
}