blob: 0bbaba52a0d0afc3805a28c1f7c5dafdc1ed234f (
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=whatip
pkgver=1.2
pkgrel=1
pkgdesc="Info on your IP"
arch=('any')
url="https://whatip.gabmus.org"
license=('GPL-3.0-or-later')
depends=(
'iproute2'
'libadwaita'
'python-requests'
'python-netaddr'
'python-gobject'
)
makedepends=(
'blueprint-compiler'
'gobject-introspection'
'meson'
)
optdepends=('avahi: hostname resolution')
source=("https://gitlab.gnome.org/GabMus/whatip/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('645af543c58f1c048af19a085f9d6b17d2e627c21e1d2c9746eb4a3ade4a537a')
build() {
arch-meson "$pkgname-$pkgver" build
meson compile -C build
}
check() {
meson test -C build --no-rebuild --print-errorlogs || :
}
package() {
meson install -C build --no-rebuild --destdir "$pkgdir"
}
|