archrelease: copy trunk to community-any
[arch-community.git] / activity-log-manager / trunk / PKGBUILD
blobd803b0b8f3e9ec82ea9c61bb4583652e127be98d
1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
2 # Contributor: Ner0
4 pkgname=activity-log-manager
5 pkgver=0.9.7
6 pkgrel=9
7 pkgdesc="A graphical user interface which lets you easily control what gets logged by Zeitgeist"
8 arch=('x86_64')
9 url="https://launchpad.net/activity-log-manager"
10 license=('GPL2')
11 depends=('gtk3' 'libgee' 'zeitgeist')
12 makedepends=('vala' 'intltool')
13 source=(https://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.xz{,.asc}
14         activity-log-manager.appdata.xml
15         fix-build.patch
16         fix-build-2.patch
17         gee-0.8.patch)
18 validpgpkeys=('EEE420E481E68B71594F192D361CC5EBA0BA909F') # Manish Sinha
19 sha256sums=('53014a08056168171579c210a8e5cfd949a0efe3bd23f6d38cd0ce0b0168841f'
20             'SKIP'
21             'e693fae142f0c1f99a0d127d189107c3baf807b292d5fc2e7903b881b3d0e9d1'
22             'bc77831fe729e452753260c9ac120d68fed3535d01c370ff3bfcb5c1a6b57c59'
23             '93b595524dc6811e1ba1c05eebb0ad2373a3bc1bade63098966809c3f1530e5b'
24             '01c4672036e69bc2089398897ae91407d5d25661d450b2d3b62b0ff1670b4122')
26 prepare() {
27   cd $pkgname-$pkgver
29   # Fix build
30   patch -Np1 -i ../fix-build.patch
31   patch -Np1 -i ../fix-build-2.patch
33   # Port to gee-0.8
34   patch -Np1 -i ../gee-0.8.patch
36   # Regenerate C files
37   rm src/activity_log_manager_vala.stamp
39   autoreconf -fi
42 build() {
43   cd $pkgname-$pkgver
44   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
45   make
48 package() {
49   cd $pkgname-$pkgver
50   make DESTDIR="$pkgdir" install
51   install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"