aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-maps/APKBUILD
blob: 62cf38edd05b7d44c9d6da177d7643d0a0928826 (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.36.1
pkgrel=0
pkgdesc="A simple map client"
url="https://wiki.gnome.org/Apps/Maps"
arch="all !s390x !mips !mips64" # 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=plain \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

sha512sums="ba44920d586c35a1a17d778be67d7858d07d22dd02f48da0ddd898f207ce89af1b9234660b3e6d3ea3b703dce496f4a4560dec450db21fa43b726cc0da285b0c  gnome-maps-3.36.1.tar.xz"