summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 07bb4740813340035986803bd01bda4c67dde1f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Maintainer: neeshy <neeshy@tfwno.gf>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Link Dupont <link@subpop.net>
pkgname=libdbus-minimal
pkgver=1.14.10
pkgrel=2
pkgdesc="DBus library"
arch=('x86_64')
url="https://wiki.freedesktop.org/www/Software/dbus/"
license=('AFL-2.1 OR GPL-2.0-or-later')
provides=('libdbus' 'libdbus-1.so')
conflicts=('libdbus')
source=("https://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.xz"{,.asc})
sha256sums=('ba1f21d2bd9d339da2d4aa8780c09df32fea87998b73da24f49ab9df1e36a50f'
            'SKIP')
validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90') # Simon McVittie <simon.mcvittie@collabora.co.uk>

build() {
  cd "$srcdir/dbus-$pkgver"
  ./configure \
      --prefix=/usr \
      --sysconfdir=/etc \
      --localstatedir=/var \
      --runstatedir=/run \
      --libexecdir=/usr/lib/dbus-1.0 \
      --enable-option-checking \
      --enable-shared \
      --enable-ld-version-script \
      --disable-silent-rules \
      --disable-maintainer-mode \
      --disable-developer \
      --disable-debug \
      --disable-dependency-tracking \
      --disable-largefile \
      --disable-static \
      --disable-fast-install \
      --disable-libtool-lock \
      --disable-ansi \
      --disable-verbose-mode \
      --disable-asserts \
      --disable-checks \
      --disable-xml-docs \
      --disable-doxygen-docs \
      --disable-ducktype-docs \
      --disable-selinux \
      --disable-apparmor \
      --disable-libaudit \
      --disable-inotify \
      --disable-kqueue \
      --disable-console-owner-file \
      --disable-launchd \
      --disable-systemd \
      --disable-traditional-activation \
      --disable-embedded-tests \
      --disable-modular-tests \
      --disable-tests \
      --disable-installed-tests \
      --disable-code-coverage \
      --disable-epoll \
      --disable-x11-autolaunch \
      --disable-compile-warnings \
      --disable-Werror \
      --disable-qt-help \
      --disable-relocation \
      --disable-stats \
      --disable-user-session \
      --with-pic \
      --with-gnu-ld \
      --without-aix-soname \
      --without-sysroot \
      --without-session-socket-dir \
      --without-test-socket-dir \
      --without-system-pid-file \
      --without-system-socket \
      --without-console-auth-dir \
      --without-console-owner-file \
      --without-launchd-agent-dir \
      --without-dbus-user \
      --without-test-user \
      --without-dbus-daemondir \
      --without-gcov \
      --without-valgrind \
      --without-x \
      --without-qchdir \
      --without-systemdsystemunitdir \
      --without-systemduserunitdir \
      --without-dbus-test-dir \
      --without-dbus-session-bus-listen-address \
      --without-dbus-session-bus-connect-address
  make
}

package() {
  cd "$srcdir/dbus-$pkgver"
  make -C dbus DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/libdbus/COPYING"
}