summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 859b9912622a79338a12a48011d4e2d1f4ff5bf6 (plain)
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
53
54
55
56
57
58
59
60
61
# Contributor: Baptiste Grenier <baptiste@bapt.name>
# Contributor: Pablo Olmos de Aguilera Corradini <pablo <at] glatelier (dot} org>
# Maintainer: Olivier Mehani <shtrom-aur@ssji.net>
# $Id$
pkgname=gtg-git
pkgver=r5107.767bfca
pkgrel=1
pkgdesc="Personal GTD like organizer for the GNOME desktop environment. Git version."
url="http://gtgnome.net/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('pygtk' 'pygobject' 'python2-configobj' 'pyxdg' 'dbus-python'
'hicolor-icon-theme' 'desktop-file-utils' 'python2-gnomekeyring'
'python-liblarch-git')
makedepends=('bzr' 'python2-gconf')
optdepends=(
"python-bugz: for Bugzilla plugin"
"python-cheetah: for Export and print plugin"
"pdflatex: for Export and print plugin"
"pdftk: for Export and print plugin"
"pdfjam: for Export and print plugin"
"python-geoclue: for Geolocalized tasks plugin"
"python-clutter: for Geolocalized tasks plugin"
"python-clutter-gtk: for Geolocalized tasks plugin"
"python-champlain: for Geolocalized tasks plugin"
"python-champlain-gtk: for Geolocalized tasks plugin"
"hamster-time-tracker: for Hamster Time Tracker Integration to integrate with"
"python-appindicator: for Notification area plugin"
"python-dbus: for Tomboy/Gnote plugin"
"python-evolution: for Evolution synchronization service"
"python-dateutil: for Evolution and RememberTheMilk synchronization services"
"python-suds: for MantisBT synchronization service"
"python-launchpadlib: for Launchpad synchronization service"
)
conflicts=('gtg')
install="${pkgname}.install"
source=("${pkgname}::git+https://github.com/getting-things-gnome/gtg"
        "0001-plugin-API-Open-preference-file-for-reading-as-binar.patch"
        "0002-No-need-to-use-unicode-on-strs.patch")

pkgver() {
  cd "$srcdir/${pkgname}"
  patch -p1 < ${srcdir}/0001-plugin-API-Open-preference-file-for-reading-as-binar.patch
  patch -p1 < ${srcdir}/0002-No-need-to-use-unicode-on-strs.patch
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
  cd "${srcdir}/${pkgname}"
  python setup.py build
}

package() {
  cd "${srcdir}/${pkgname}"
  python setup.py install --root=${pkgdir}
}

# vim:set ts=2 sw=2 et:
md5sums=('SKIP'
         '443cf942f731a97c031a0118d3a2c895'
         '6850a96df56027f7eee02054ad2554af')