diff options
Diffstat (limited to 'main/dbus/APKBUILD')
-rw-r--r-- | main/dbus/APKBUILD | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/main/dbus/APKBUILD b/main/dbus/APKBUILD index 81b4c52772..66a75b8bb5 100644 --- a/main/dbus/APKBUILD +++ b/main/dbus/APKBUILD @@ -1,13 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dbus pkgver=1.4.16 -pkgrel=1 +pkgrel=2 pkgdesc="Freedesktop.org message bus system" url="http://www.freedesktop.org/Software/dbus" pkggroups="messagebus" arch="all" license="GPL custom" -subpackages="$pkgname-dev $pkgname-doc" +subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-x11" triggers="$pkgname.trigger=/etc/dbus-1/system.d" depends= makedepends="expat-dev libx11-dev pkgconfig util-linux-dev" @@ -41,5 +41,19 @@ package() { rm "$pkgdir"/usr/lib/*.la || return 1 install -Dm755 "$srcdir"/dbus.initd "$pkgdir"/etc/init.d/dbus } + +libs() { + pkgdesc="Libraries for acces D-BUS" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/lib*.so.* "$subpkgdir"/usr/lib/ +} + +x11() { + pkgdesc="X11-requiring add-ons for D-BUS" + depends="dbus=$pkgver-r$pkgrel" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/dbus-launch "$subpkgdir"/usr/bin/ +} + md5sums="44a2a10678e7e50460879c3eb4453a65 dbus-1.4.16.tar.gz bc835765907698a95da8d8e5bf199378 dbus.initd" |