diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d6d3f0453f4b --- /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 000000000000..2dcec4a8bbf0 --- /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 +} |