aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-maps/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnome-maps/APKBUILD')
-rw-r--r--community/gnome-maps/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/gnome-maps/APKBUILD b/community/gnome-maps/APKBUILD
new file mode 100644
index 0000000000..e04899317e
--- /dev/null
+++ b/community/gnome-maps/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gnome-maps
+pkgver=3.32.2.1
+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"
+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
+ Add-validation-tests-for-desktop-and-appdata.patch"
+
+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="484277dbbf244c5f50f8761c26db8ab31a2294152bc0f7fd81d921802f67cb6fa98e7f2871439c896fb06d5fc11e41cc4a960fa5f552e436e8e756efed80a821 gnome-maps-3.32.2.1.tar.xz
+88017be4f6bb46c6ee28fbf475038300fe9ddacf4dc9484225278239b89b3c91b97a8c7d0194a48c503327affe8e10d600d44514a5813ffc56846c446e9434c5 Add-validation-tests-for-desktop-and-appdata.patch"