46 lines
1.4 KiB
Bash
46 lines
1.4 KiB
Bash
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
|
# and remove these comments. For more information, see 'man PKGBUILD'.
|
|
# NOTE: Please fill out the license field for your package! If it is unknown,
|
|
# then please put 'unknown'.
|
|
|
|
# Maintainer: Future Linux Team <future_linux@163.com>
|
|
pkgname=dbus
|
|
pkgver=1.14.10
|
|
pkgrel=1
|
|
pkgdesc="Freedesktop.org message bus system"
|
|
arch=('x86_64')
|
|
url="https://wiki.freedesktop.org/www/Software/dbus/"
|
|
license=("AFL-2.1 OR GPL-2.0-or-later")
|
|
depends=('expat' 'systemd')
|
|
makedepends=('python')
|
|
source=(https://dbus.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
|
sha256sums=(ba1f21d2bd9d339da2d4aa8780c09df32fea87998b73da24f49ab9df1e36a50f)
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
${CONFIGURE} \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--runstatedir=/run \
|
|
--enable-user-session \
|
|
--disable-static \
|
|
--disable-doxygen-docs \
|
|
--disable-xml-docs \
|
|
--docdir=/usr/share/doc/${pkgname}-${pkgver} \
|
|
--with-system-socket=/run/dbus/system_bus_socket
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
ln -sfv /etc/machine-id ${pkgdir}/var/lib/dbus
|
|
|
|
rm -rf ${pkgdir}/var/run
|
|
|
|
}
|