[arch-commits] Commit in dbus/trunk (PKGBUILD)
Tom Gundersen
tomegun at nymeria.archlinux.org
Sat Dec 28 00:08:16 UTC 2013
Date: Saturday, December 28, 2013 @ 01:08:16
Author: tomegun
Revision: 202777
upgpkg: dbus 1.6.18-2
split out libdbus
Modified:
dbus/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++--------
1 file changed, 26 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-12-28 00:04:44 UTC (rev 202776)
+++ PKGBUILD 2013-12-28 00:08:16 UTC (rev 202777)
@@ -3,19 +3,15 @@
# Maintainer: Jan de Groot <jgc at archlinux.org>
# Contributor: Link Dupont <link at subpop.net>
#
-pkgname=dbus
+pkgbase=dbus
+pkgname=('dbus' 'libdbus')
pkgver=1.6.18
-pkgrel=1
+pkgrel=2
pkgdesc="Freedesktop.org message bus system"
url="http://www.freedesktop.org/Software/dbus"
arch=(i686 x86_64)
license=('GPL' 'custom')
-depends=('expat' 'coreutils' 'filesystem')
makedepends=('libx11' 'systemd')
-optdepends=('libx11: dbus-launch support')
-provides=('dbus-core')
-conflicts=('dbus-core')
-replaces=('dbus-core')
source=(http://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.gz
30-dbus systemd-user-session.patch memleak.patch)
md5sums=('b02e9c95027a416987b81f9893831061'
@@ -44,7 +40,13 @@
make
}
-package(){
+package_dbus(){
+ depends=('libdbus' 'expat')
+ optdepends=('libx11: dbus-launch support')
+ provides=('dbus-core')
+ conflicts=('dbus-core')
+ replaces=('dbus-core')
+
cd dbus-$pkgver
make DESTDIR="$pkgdir" install
@@ -53,4 +55,20 @@
install -Dm755 ../30-dbus "$pkgdir/etc/X11/xinit/xinitrc.d/30-dbus"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/dbus/COPYING"
+
+ # split out libdbus-1
+ rm -rf "$srcdir/_libdbus"
+ install -dm755 "$srcdir"/_libdbus/usr/lib
+ mv "$pkgdir"/usr/include "$srcdir"/_libdbus/usr/
+ mv "$pkgdir"/usr/lib/pkgconfig "$srcdir"/_libdbus/usr/lib/
+ mv "$pkgdir"/usr/lib/libdbus* "$srcdir"/_libdbus/usr/lib/
+ install -Dm644 COPYING "$srcdir"/_libdbus/usr/share/licenses/libdbus/COPYING
}
+
+package_libdbus(){
+ pkgdesc="DBus library"
+ depends=('glibc')
+
+
+ mv "$srcdir"/_libdbus/* "$pkgdir"
+}
More information about the arch-commits
mailing list