summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fef8b1270b6f1f62fd441903d557692e475cd74f (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
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>

pkgname=pantheon-calendar-git
pkgver=6.1.2.r0.g7ade6132
pkgrel=1
pkgdesc='The Pantheon Calendar'
arch=(x86_64)
url=https://github.com/elementary/calendar
license=(GPL3)
groups=(pantheon-unstable)
depends=(
  cairo
  clutter
  clutter-gtk
  evolution-data-server
  folks
  gdk-pixbuf2
  geoclue
  geocode-glib
  glib2
  gtk3
  libchamplain
  libgee
  libgranite.so
  libical
  libnotify
  libsoup
  libhandy-1.so
)
makedepends=(
  git
  granite-git
  intltool
  meson
  vala
  libhandy
)
provides=(pantheon-calendar)
conflicts=(pantheon-calendar)
source=(pantheon-calendar::git+https://github.com/elementary/calendar.git)
sha256sums=(SKIP)

pkgver() {
  cd pantheon-calendar

   git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  arch-meson pantheon-calendar build
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

# vim: ts=2 sw=2 et: