summaryrefslogtreecommitdiff
path: root/community-testing/activity-log-manager
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-22 01:08:23 -0700
committerroot <root@rshg054.dnsready.net>2012-10-22 01:08:23 -0700
commit99746708edfd2c56f2ba654a14f27e98b1601a43 (patch)
treec54c0eba66ad0190e1be5b54fbdb73b875936943 /community-testing/activity-log-manager
parent80b6d46a5c9da3f9d0db207d9d0adc265899a915 (diff)
Mon Oct 22 01:08:14 PDT 2012
Diffstat (limited to 'community-testing/activity-log-manager')
-rw-r--r--community-testing/activity-log-manager/PKGBUILD42
-rw-r--r--community-testing/activity-log-manager/activity-log-manager.install11
2 files changed, 53 insertions, 0 deletions
diff --git a/community-testing/activity-log-manager/PKGBUILD b/community-testing/activity-log-manager/PKGBUILD
new file mode 100644
index 000000000..0b27128a4
--- /dev/null
+++ b/community-testing/activity-log-manager/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 78598 2012-10-21 19:12:44Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Ner0
+
+pkgname=activity-log-manager
+pkgver=0.9.4
+pkgrel=2
+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"
+license=('GPL2')
+depends=('gtk3' 'libgee' 'libzeitgeist' 'zeitgeist' 'hicolor-icon-theme' 'xdg-utils')
+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)
+md5sums=('cf85aecdaa6c0188a53d659709e1f8cd'
+ '6167df74ce44659aa94a89f31ff4d351')
+
+build() {
+ cd $pkgname-$pkgver
+
+ # Fix docdir location
+ sed -i 's/almdocdir =.*/almdocdir = ${docdir}/' Makefile.{am,in}
+
+ # Update language files
+ echo 'af ar ast be bg bn bs ca ca@valencia cs da de el eo es et eu fi fr gd gl he hi hr hu id it ja km ko ku lt lv mi ms my nb nl oc pl pt ro ru se si sk sl sr sv ta te ug uk uz vi zh_CN zh_HK zh_TW' >po/LINGUAS
+ rename $pkgname- '' ../po/$pkgname-*.po
+ mv -f -t po ../po/*
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # We don't have Whoopsie on Arch Linux
+ rm -r "$pkgdir/etc" "$pkgdir"/usr/share/{applications/activity-log-manager-ccpanel.desktop,dbus-1,gnome-control-center,polkit-1}
+}
diff --git a/community-testing/activity-log-manager/activity-log-manager.install b/community-testing/activity-log-manager/activity-log-manager.install
new file mode 100644
index 000000000..2c455e952
--- /dev/null
+++ b/community-testing/activity-log-manager/activity-log-manager.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}