aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-maps/APKBUILD
blob: 4c516fbdd2319c347dfd4f14debe8feffe333d6e (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.4
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="530ccc0a25c0a1fee2411ecc4034981210836664acc7adc6aa9cff9304e2499c1205f9c27b6b692fdee152fe1750541a1966d59a60958f3592682a5e110d490f  gnome-maps-3.36.4.tar.xz"