blob: 9a24558f793cb403ea2da5717d6eaeb53a9af052 (
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
62
63
64
65
66
67
|
# Maintainer: Sam Burgos < santiago dot burgos1089 at gmail dot com >
pkgname=gnome-calendar-linuxmint
_pkgname=gnome-calendar
pkgver=3.34.2
pkgrel=1
pkgdesc='Simple and beautiful calendar application designed to perfectly fit the GNOME desktop. With Linux Mint patches'
arch=(x86_64)
url=https://wiki.gnome.org/Apps/Calendar
license=(GPL)
depends=(
evolution-data-server
geoclue2
gsettings-desktop-schemas
libdazzle
libgweather
)
optdepends=(
'evolution: ICS file import'
)
makedepends=(
appstream-glib
git
gnome-control-center
meson
python
)
provides=(${_pkgname})
conflicts=(${_pkgname})
groups=(gnome)
_commit=98881b9071ce39b8704e9b5af4eb1faa064ba3fa # tags/3.34.2^0
source=(
"git+https://gitlab.gnome.org/GNOME/gnome-calendar.git#commit=$_commit"
"add_cinnamon_settings_online_support.patch"
"set_window_icon_name.patch"
)
sha256sums=('SKIP'
'9b81f538a4ebc74c66b6ea80a02303fe6adfc92dc183e6a96e0f090ac777e7d9'
'1788c8cb1fbf8bd5cf81d700d9f5f7eb1e5eea265e35930dc70df147f79ebc9a')
pkgver() {
cd $_pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $_pkgname
# Add support so that gnome-calendar run within Cinnamon by calling cinnamon-settings online-accounts
patch -Np0 -i ../add_cinnamon_settings_online_support.patch
# Fix: Set window icon name
patch -Np0 -i ../set_window_icon_name.patch
}
build() {
arch-meson $_pkgname build
ninja -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
|