summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f5b78455ffb7218a306573d875daba3968b2e02 (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
pkgname=gnome-calendar-git
_pkgname=gnome-calendar
pkgver=40.alpha
pkgrel=1
pkgdesc="Simple and beautiful calendar application designed to perfectly fit the GNOME desktop"
url="https://wiki.gnome.org/Apps/Calendar"
arch=(x86_64)
license=(GPL)
depends=('evolution-data-server' 'gsettings-desktop-schemas' 'gnome-control-center' 'libdazzle' 'libhandy')
makedepends=('python' 'appstream-glib' 'git' 'meson')
optdepends=('evolution: ICS file import')
provides=('gnome-calendar')
conflicts=('gnome-calendar')
source=("git+https://gitlab.gnome.org/GNOME/gnome-calendar.git")
b2sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/-/+/g'
}

build() {
  arch-meson $_pkgname build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

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