jobcore/dbus-broker/PKGBUILD

47 lines
1.2 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=dbus-broker
pkgver=32
pkgrel=01
pkgdesc="Linux D-Bus Message Broker"
url="https://github.com/bus1/dbus-broker/wiki"
arch=(x86_64)
depends=(expat audit)
makedepends=(meson python-docutils)
#options=(debug) ### uncomment this line to have debug pkg produced
source=(https://github.com/bus1/dbus-broker/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz)
prepare() {
cd $pkgname-$pkgver
}
build() {
arch-meson $pkgname-$pkgver build \
-D audit=true \
-D docs=true \
-D linux-4-17=true \
-D launcher=false \
-D system-console-users=gdm,sddm,lightdm,lxdm
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
}
#---- license gpg-key sha256sums ----
license=(Apache)
sha256sums=('bea7f653e7251063c5f427e9e3f93562d38a0d8667ae6d49fb56f113605985de')
sha256sums=(bea7f653e7251063c5f427e9e3f93562d38a0d8667ae6d49fb56f113605985de) # dbus-broker-32.tar.xz