aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-maps/APKBUILD
blob: f50b74c90bb6f08117606c0b0967de4c34526282 (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-maps
pkgver=3.34.2
pkgrel=0
pkgdesc="A simple map client"
url="https://wiki.gnome.org/Apps/Maps"
arch="all !s390x" # gjs missing
license="GPL-2.0-or-later"
depends="gfbgraph gjs geoclue"
makedepends="meson glib-dev gjs-dev gtk+3.0-dev gobject-introspection-dev geoclue-dev
	libgee-dev folks-dev geocode-glib-dev libchamplain-dev libxml2-dev rest-dev"
checkdepends="appstream-glib desktop-file-utils"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-maps/${pkgver%.*}/gnome-maps-$pkgver.tar.xz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="8f7f88343bee22aff9d9e821d2059c4428788d9a43ada7415387721664a58fa1bc7ff36865fc7d12702e77fa794d87d3e3fb80aab694fb6c014fd4dbc1db0f0c  gnome-maps-3.34.2.tar.xz"