diff options
Diffstat (limited to 'community/activity-log-manager')
-rw-r--r-- | community/activity-log-manager/PKGBUILD | 36 | ||||
-rw-r--r-- | community/activity-log-manager/activity-log-manager.install | 11 |
2 files changed, 47 insertions, 0 deletions
diff --git a/community/activity-log-manager/PKGBUILD b/community/activity-log-manager/PKGBUILD new file mode 100644 index 000000000..e4a898185 --- /dev/null +++ b/community/activity-log-manager/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 92682 2013-06-12 04:38:43Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Ner0 + +pkgname=activity-log-manager +pkgver=0.9.5 +pkgrel=1 +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' 'libgee06' 'libzeitgeist' 'zeitgeist' 'hicolor-icon-theme' 'xdg-utils') +makedepends=('vala' 'intltool') +install=$pkgname.install +source=(https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.xz + http://pkgbuild.com/~bgyorgy/sources/$pkgname-translations-20121021.tar.gz) +md5sums=('460b4439798badbf4ba4b76b31cc1d03' + '6167df74ce44659aa94a89f31ff4d351') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Install language files + rename $pkgname- '' ../po/$pkgname-*.po + mv -f -t po ../po/* + printf "%s\n" po/*.po | sed -e 's/po\///g' -e 's/\.po//g' >po/LINGUAS + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +} diff --git a/community/activity-log-manager/activity-log-manager.install b/community/activity-log-manager/activity-log-manager.install new file mode 100644 index 000000000..2c455e952 --- /dev/null +++ b/community/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 +} |