blob: 9f34957b2f4416a9c3757fca0100ac9c53e7add3 (
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
68
69
|
# Maintainer: Sam Burgos < santiago dot burgos1089 at gmail dot com >
pkgname=gnome-calendar-linuxmint
_pkgname=gnome-calendar
pkgver=41.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
geoclue
gnome-online-accounts
gsettings-desktop-schemas
libdazzle
libgweather
libhandy
libical
)
optdepends=(
'evolution: ICS file import'
)
makedepends=(
appstream-glib
git
meson
)
provides=(${_pkgname})
conflicts=(${_pkgname})
groups=(gnome)
_commit=deb9ff18302457b91fb8013f98880c8e3a548c19 # tags/41.2^0
source=(
"git+https://gitlab.gnome.org/GNOME/gnome-calendar.git#commit=$_commit"
"linuxmint_gcal_window.patch"
"linuxmint_gcal_new_calendar_page.patch"
)
sha256sums=('SKIP'
'8ee8805a0d185b9458016c7855f789f849982c68f9c42407504d3144696d825c'
'c935e126d9201c37f4b33460ae834c6c4a18c71fd06c2d768480b559a8a92e5f')
pkgver() {
cd $_pkgname
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd $_pkgname
# Replace GNOME Control Center internal call with Cinnamon Settings (cinnamon-settings online-accounts)
# Set window icon name
patch -Np0 -i ../linuxmint_gcal_window.patch
# Replace GNOME Web Description link label with cinnamon-settings online-accounts
patch -Np0 -i ../linuxmint_gcal_new_calendar_page.patch
}
build() {
arch-meson $_pkgname build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
|