aboutsummaryrefslogtreecommitdiffstats
path: root/testing/geoclue/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/geoclue/APKBUILD')
-rw-r--r--testing/geoclue/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/geoclue/APKBUILD b/testing/geoclue/APKBUILD
new file mode 100644
index 0000000000..25fbc5cee4
--- /dev/null
+++ b/testing/geoclue/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=geoclue
+pkgver=2.4.7
+pkgrel=0
+pkgdesc="dbus geolocation service"
+url="https://www.freedesktop.org/wiki/Software/GeoClue/"
+arch="all"
+license="LGPL"
+depends=""
+depends_dev=""
+makedepends="libsoup-dev json-glib-dev libmm-glib-dev avahi-dev intltool"
+install=""
+subpackages="$pkgname-dev"
+source="https://freedesktop.org/software/geoclue/releases/2.4/geoclue-$pkgver.tar.xz"
+builddir="$srcdir/geoclue-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="472cf923abfd40dee296eee2e6888c47f273ad709e1bdcce534bd794cf9f7073ceabd6addf918277e10498e094af5a6e9539b5cf24171577e78bc3b0b2d17b72 geoclue-2.4.7.tar.xz"