summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fa3a000ab190a907a19d7c119dc8bed1b672a1fb (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
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: Baptiste Grenier <baptiste@bapt.name>
# Contributor: Pablo Olmos de Aguilera Corradini <pablo <at] glatelier (dot} org>
# Contributor: Sander van Kasteel <info at sandervankasteel dot nl>
pkgname=gtg-git
pkgver=0.6.r422.g80b09c84
pkgrel=1
pkgdesc="Getting Things GNOME! is a personal tasks and TODO-list items organizer for GNOME"
arch=('any')
url="https://wiki.gnome.org/Apps/GTG"
license=('GPL-3.0-or-later')
depends=(
  'dbus-python'
  'gtk4'
  'gtksourceview5'
  'libsecret'
  'python-caldav'
  'python-gobject'
  'python-liblarch-git'
  'python-lxml'
)
makedepends=(
  'git'
  'itstool'
  'meson'
)
#checkdepends=(
#  'python-pytest'
#)
optdepends=(
  'hamster-time-tracker: send a task to the Hamster time tracking applet'
  'pdftk: for the Export and print plugin'
  'python-cheetah3: for the Export and print plugin'
  'python-setproctitle: to set the process title when listing processes like ps)'
  'texlive-bin: pdflatex, for the Export and print plugin'
  'texlive-binextra: pdfjam, for the Export and print plugin'
  'yelp: view user manual'
)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/getting-things-gnome/gtg.git')
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  arch-meson "${pkgname%-git}" build
  meson compile -C build
}

#check() {
#  cd "${pkgname%-git}"
#  python run-tests
#}

package() {
  meson install -C build --destdir "$pkgdir"
}