summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavide Depau2019-05-11 18:03:15 +0200
committerDavide Depau2019-05-11 18:03:15 +0200
commitd6e40d4f9df5c8c6fed33b45bbf5d7fde7004279 (patch)
treeed4e3835c3c7ecb561cd0ee6660e223218b71af0
downloadaur-libdbusaccess-git.tar.gz
Initial commit
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD33
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d6d3f0453f4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = libdbusaccess-git
+ pkgdesc = Access control over D-Bus
+ pkgver = 1.0.8.r0.gcf39757
+ pkgrel = 1
+ url = https://git.sailfishos.org/mer-core/libdbusaccess
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ makedepends = make
+ makedepends = bison
+ makedepends = flex
+ depends = glib2
+ depends = dbus
+ provides = libdbusaccess
+ conflicts = libdbusaccess
+ source = libdbusaccess::git+https://git.sailfishos.org/mer-core/libdbusaccess.git
+ sha256sums = SKIP
+
+pkgname = libdbusaccess-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2dcec4a8bbf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Davide Depau <davide@depau.eu>
+_pkgname=libdbusaccess
+pkgname=${_pkgname}-git
+pkgver=1.0.8.r0.gcf39757
+pkgrel=1
+pkgdesc="Access control over D-Bus"
+arch=('i686' 'x86_64')
+depends=('glib2' 'dbus')
+makedepends=('git' 'make' 'bison' 'flex')
+url="https://git.sailfishos.org/mer-core/libdbusaccess"
+license=('BSD')
+source=(${_pkgname}::git+https://git.sailfishos.org/mer-core/libdbusaccess.git)
+sha256sums=('SKIP')
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+
+pkgver() {
+ cd "$_pkgname"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "$srcdir/$_pkgname"
+ make KEEP_SYMBOLS=1 release pkgconfig
+ make KEEP_SYMBOLS=1 -C tools/dbus-creds release
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+
+ make DESTDIR="$pkgdir" install-dev
+ make DESTDIR="$pkgdir" -C tools/dbus-creds install
+}