summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbtd13372019-07-17 21:39:17 -0300
committerbtd13372019-07-17 21:39:17 -0300
commitf802c1505b697fdd76277bda88b27f12a798710a (patch)
tree555abf63ceec2b0c2e134720202174f675840dbd
downloadaur-f802c1505b697fdd76277bda88b27f12a798710a.tar.gz
initial release
-rw-r--r--.SRCINFO26
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD32
3 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fc15e11ee7c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = pantheon-agent-geoclue2
+ pkgdesc = Geoclue2 Agent for Pantheon. The location services agent appears whenever an application wants to request permission to use location services.
+ pkgver = 1.0.2
+ pkgrel = 1
+ url = https://github.com/elementary/pantheon-agent-geoclue2
+ arch = any
+ groups = pantheon-stable
+ license = GPL3
+ makedepends = git
+ makedepends = meson
+ makedepends = vala
+ depends = dbus-glib
+ depends = glib2
+ depends = glibc
+ depends = gtk3
+ depends = geoclue2
+ provides = pantheon-agent-geoclue2
+ provides = pantheon-geoclue2-agent
+ conflicts = pantheon-agent-geoclue2-git
+ conflicts = pantheon-geoclue2-agent
+ conflicts = pantheon-geoclue2-agent-git
+ source = pantheon-agent-geoclue2-1.0.2.tar.gz::https://github.com/elementary/pantheon-agent-geoclue2/archive/1.0.2.tar.gz
+ md5sums = 7569d61131f667666bdee6633b7f730b
+
+pkgname = pantheon-agent-geoclue2
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..b25c15b81fa
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*~
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0e9b4f81c1a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Helder Bertoldo <helder.bertoldo@gmail.com>
+# Contributor:
+
+_gitname=pantheon-agent-geoclue2
+_author=elementary
+pkgname=("${_gitname}")
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Geoclue2 Agent for Pantheon. The location services agent appears whenever an application wants to request permission to use location services."
+arch=('any')
+url="https://github.com/${_author}/${_gitname}"
+license=('GPL3')
+groups=('pantheon-stable')
+depends=('dbus-glib' 'glib2' 'glibc' 'gtk3' 'geoclue2')
+makedepends=('git' 'meson' 'vala')
+optdepends=()
+provides=("${_gitname}" "pantheon-geoclue2-agent")
+conflicts=("${_gitname}-git" "pantheon-geoclue2-agent" "pantheon-geoclue2-agent-git")
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+md5sums=("7569d61131f667666bdee6633b7f730b")
+
+build() {
+ cd "${_gitname}-${pkgver}/"
+ meson . _build --prefix=/usr
+ ninja -C _build
+}
+
+package() {
+ cd "${_gitname}-${pkgver}/"
+ DESTDIR="${pkgdir}" ninja -C _build install
+}
+