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