diff options
author | Chocobo1 | 2023-12-30 03:17:33 +0800 |
---|---|---|
committer | Chocobo1 | 2023-12-30 03:17:33 +0800 |
commit | 021167766c95e3adffb1bcd841187f3bad9aa878 (patch) | |
tree | bc76ebd5338bc32014de10e9b327046519d20e5d /PKGBUILD | |
parent | c8a64e33bdb969f5558f3b8ff95aa1e6fca622c3 (diff) | |
download | aur-dbus-git.tar.gz |
upgpkg: dbus-git 1.15.8.r17.gd9756df2-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 18 insertions, 18 deletions
@@ -1,15 +1,15 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=dbus-git -pkgver=1.15.4.r31.ga6654eae +pkgver=1.15.8.r17.gd9756df2 pkgrel=1 pkgdesc="Message bus system" arch=('i686' 'x86_64') url="https://www.freedesktop.org/wiki/Software/dbus/" license=('GPL' 'custom') -depends=('glibc' 'audit' 'expat' 'systemd-libs') -makedepends=('git' 'autoconf-archive' 'systemd') -provides=("dbus=$pkgver" 'libdbus') +depends=('glibc' 'audit' 'expat' 'libaudit.so' 'libsystemd.so' 'systemd-libs') +makedepends=('git' 'meson' 'systemd') +provides=("dbus=$pkgver" 'libdbus' 'libdbus-1.so') conflicts=('dbus' 'libdbus') options=('staticlibs') source=("git+https://gitlab.freedesktop.org/dbus/dbus.git" @@ -27,34 +27,34 @@ pkgver() { build() { cd "dbus" - NOCONFIGURE=1 ./autogen.sh - ./configure --prefix="/usr" \ + meson setup \ + --buildtype=plain \ + --prefix="/usr" \ --sysconfdir="/etc" \ --localstatedir="/var" \ --libexecdir="/usr/lib/dbus-1.0" \ - --with-system-pid-file="/run/dbus/pid" \ - --with-system-socket="/run/dbus/system_bus_socket" \ - --with-console-auth-dir="/run/console" \ - --with-systemdsystemunitdir="/usr/lib/systemd/system" \ - --with-dbus-user="dbus" \ - --enable-systemd \ - --enable-user-session \ - --enable-epoll - make + -Ddefault_library="both" \ + -Dsystem_pid_file="/run/dbus/pid" \ + -Dsystem_socket="/run/dbus/system_bus_socket" \ + -Ddbus_user="dbus" \ + -Depoll="enabled" \ + -Dsystemd="enabled" \ + "_build" + meson compile -C "_build" } check() { cd "dbus" - make check + #meson test -C "_build" } package() { cd "dbus" - make DESTDIR="$pkgdir" install + meson install -C "_build" --destdir "$pkgdir" - rm -r "$pkgdir"/{etc,usr/share/doc,var} + rm -r "$pkgdir"/{etc,usr/share/doc,run,var} install -Dm644 "COPYING" -t "$pkgdir/usr/share/licenses/dbus" |