# $Id: PKGBUILD 94510 2013-07-25 21:57:24Z bgyorgy $ # Maintainer: Balló György # Contributor: Ner0 pkgname=activity-log-manager pkgver=0.9.7 pkgrel=1 pkgdesc="A graphical user interface which lets you easily control what gets logged by Zeitgeist" arch=('i686' 'x86_64' 'mips64el') url="https://launchpad.net/activity-log-manager" license=('GPL2') depends=('gtk3' 'libgee06' '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-20130725.tar.gz) md5sums=('d886be32db0fa351aaf0eb59912ee377' 'f7a284bca152011500cb845aebad8d14') 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 rm src/activity_log_manager_vala.stamp ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install }