mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 10:07:15 +08:00
undid dbus/dbus-core merge
This commit is contained in:
parent
3782ebff23
commit
2b7108a1c7
@ -6,18 +6,16 @@
|
||||
|
||||
pkgname=dbus
|
||||
pkgver=1.6.12
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Freedesktop.org message bus system"
|
||||
url="http://www.freedesktop.org/Software/dbus"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL' 'custom')
|
||||
depends=('expat' 'coreutils' 'libx11' 'systemd')
|
||||
depends=('expat' 'coreutils' 'libx11' 'systemd' 'dbus-core')
|
||||
source=("http://dbus.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"
|
||||
"systemd-user-session.patch"
|
||||
'30-dbus')
|
||||
provides=("dbus-core=${pkgver}")
|
||||
conflicts=("dbus-core")
|
||||
replaces=("dbus-core")
|
||||
install=dbus.install
|
||||
md5sums=('a70edc50524f258eaf5c9a9994ed8748'
|
||||
'baa6689b6df440d2036edebd40e3c41e'
|
||||
'3314d727fa57fc443fce25b5cbeebbcc')
|
||||
@ -25,35 +23,37 @@ md5sums=('a70edc50524f258eaf5c9a9994ed8748'
|
||||
build() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libexecdir=/usr/lib/dbus-1.0 \
|
||||
--with-dbus-user=81 \
|
||||
--with-system-pid-file=/run/dbus/pid \
|
||||
--disable-verbose-mode \
|
||||
--disable-static \
|
||||
--enable-inotify \
|
||||
--disable-dnotify \
|
||||
--disable-tests \
|
||||
--disable-asserts \
|
||||
--with-systemdsystemunitdir=/usr/lib/systemd/system \
|
||||
--enable-systemd
|
||||
ECHO="echo" ./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libexecdir=/usr/lib/dbus-1.0 \
|
||||
--with-dbus-user=81 \
|
||||
--with-system-pid-file=/var/run/dbus.pid \
|
||||
--disable-verbose-mode \
|
||||
--disable-static \
|
||||
--enable-inotify \
|
||||
--disable-dnotify \
|
||||
--disable-tests \
|
||||
--disable-asserts \
|
||||
--with-x \
|
||||
--enable-x11-autolaunch \
|
||||
--enable-sytemd
|
||||
|
||||
patch -p1 < "$srcdir/systemd-user-session.patch"
|
||||
|
||||
make
|
||||
make -C tools dbus-launch
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -m755 -d "${pkgdir}/usr/bin"
|
||||
install -m755 -d "${pkgdir}/usr/share/man/man1"
|
||||
install -m755 tools/dbus-launch "${pkgdir}/usr/bin/"
|
||||
install -m644 doc/dbus-launch.1 "${pkgdir}/usr/share/man/man1/"
|
||||
|
||||
rm -rf "$pkgdir/var/run"
|
||||
install -m755 -d "${pkgdir}/etc/X11/xinit/xinitrc.d"
|
||||
install -m755 "${srcdir}/30-dbus" "${pkgdir}/etc/X11/xinit/xinitrc.d/"
|
||||
|
||||
install -Dm755 -d "${pkgdir}/etc/X11/xinit/xinitrc.d/30-dbus"
|
||||
|
||||
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/dbus/COPYING"
|
||||
install -d -m755 "${pkgdir}/usr/share/licenses/dbus"
|
||||
install -m644 COPYING "${pkgdir}/usr/share/licenses/dbus/"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
Loading…
Reference in New Issue
Block a user