blob: 133abc3bde19644e06a3f7f4dd28237bae16e954 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=meteo
pkgver=0.9.9.3
pkgrel=3
pkgdesc="A forecast application using OpenWeatherMap API"
arch=('x86_64')
url="https://gitlab.com/bitseater/meteo"
license=('GPL-3.0-or-later')
depends=('gtk3' 'libayatana-appindicator' 'webkit2gtk')
makedepends=('git' 'meson' 'vala')
checkdepends=('appstream')
conflicts=('meteo-gtk')
_commit=5d8501911faed913036609e8ae7dfb2b35d76f4a # tags/0.9.9.3^0
source=("git+https://gitlab.com/bitseater/meteo.git#commit=${_commit}?signed")
sha256sums=('4bcd60794f3d2752abbf30a7e3554a2bd95be2c91d92c0bb2153a5639f8949cf')
validpgpkeys=('900E41F44EFF4B6D696EB80AE6BDC743AED36483') # Carlos Suárez <bitseater@gmail.com>
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() {
meson install -C build --destdir "$pkgdir"
ln -s /usr/bin/com.gitlab.bitseater.meteo "$pkgdir/usr/bin/$pkgname"
}
|