blob: a695a04cb85e0b5a687bb0d04948df90c72410ee (
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
|
# Maintainer:
# Contributor: Mark Wagie <mark dot wagie at proton dot me>
pkgname=meteo
pkgver=0.9.9.3
pkgrel=5
pkgdesc="A forecast application using OpenWeatherMap API"
arch=('x86_64')
url="https://gitlab.com/bitseater/meteo"
license=('GPL-3.0-or-later')
depends=(
'gtk3'
'json-glib'
'libayatana-appindicator'
'libsoup'
'webkit2gtk'
)
makedepends=(
'git'
'meson'
'vala'
)
checkdepends=('appstream')
conflicts=('meteo-gtk')
source=("git+https://gitlab.com/bitseater/meteo.git#tag=$pkgver"
'https://gitlab.com/bitseater/meteo/-/merge_requests/104.patch')
sha256sums=('4bcd60794f3d2752abbf30a7e3554a2bd95be2c91d92c0bb2153a5639f8949cf'
'62618aea39ff164dfc9aa9123c40f535786258520708cb2485ff1addf6356280')
prepare() {
cd "$pkgname"
# fix appdata
patch -Np1 -i ../104.patch
}
build() {
arch-meson "$pkgname" build
meson compile -C build
}
check() {
meson test -C build --no-rebuild --print-errorlogs
}
package() {
meson install -C build --no-rebuild --destdir "$pkgdir"
ln -s "/usr/bin/com.gitlab.bitseater.$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|