aboutsummaryrefslogtreecommitdiffstats
path: root/testing/geoclue/APKBUILD
blob: bdc7986e5efc1cfd67bf3bfdf4f80ce50b8bbbb5 (plain)
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
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=geoclue
pkgver=2.4.7
pkgrel=2
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 modemmanager-dev avahi-dev intltool gobject-introspection-dev"
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"