diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-12-09 19:29:12 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-12-09 19:29:12 (GMT) |
commit | cb367bc15666bb6a1976f6a17cc6004089a2dde2 (patch) | |
tree | 2546c2006f5f4bd2a5d3c7ebf737fed9e7cb8e6a /abs/core/dbus/PKGBUILD | |
parent | 8e0124b151bdf49bf2f1883e90a5b5353f48eebf (diff) | |
download | linhes_pkgbuild-cb367bc15666bb6a1976f6a17cc6004089a2dde2.zip linhes_pkgbuild-cb367bc15666bb6a1976f6a17cc6004089a2dde2.tar.gz linhes_pkgbuild-cb367bc15666bb6a1976f6a17cc6004089a2dde2.tar.bz2 |
dbus: update to 1.8.12
Diffstat (limited to 'abs/core/dbus/PKGBUILD')
-rw-r--r-- | abs/core/dbus/PKGBUILD | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/abs/core/dbus/PKGBUILD b/abs/core/dbus/PKGBUILD index ca11c98..f691400 100644 --- a/abs/core/dbus/PKGBUILD +++ b/abs/core/dbus/PKGBUILD @@ -2,24 +2,22 @@ # Maintainer: Tom Gundersen <teg@jklm.no> # Maintainer: Jan de Groot <jgc@archlinux.org> # Contributor: Link Dupont <link@subpop.net> -# + pkgbase=dbus pkgname=('dbus' 'libdbus') -pkgver=1.8.0 +pkgver=1.8.12 pkgrel=1 pkgdesc="Freedesktop.org message bus system" url="http://www.freedesktop.org/Software/dbus" arch=(i686 x86_64) license=('GPL' 'custom') makedepends=('libx11' 'systemd' 'xmlto' 'docbook-xsl') -source=(http://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.gz +source=(http://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.gz{,.asc} 30-dbus) -md5sums=('059fbe84e39fc99c67a14f15b1f39dff' +md5sums=('0ca23fc84c09cb3d29b9c27811ff4475' + 'SKIP' '3314d727fa57fc443fce25b5cbeebbcc') - -prepare() { - cd dbus-$pkgver -} +validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90') build() { cd dbus-$pkgver @@ -44,28 +42,25 @@ package_dbus(){ replaces=('dbus-core') cd dbus-$pkgver + + # Disable installation of libdbus + sed -i -e 's/^SUBDIRS = dbus/SUBDIRS =/' Makefile + make DESTDIR="$pkgdir" install - rm -rf "$pkgdir/var/run" + rm -rf "${pkgdir}/var/run" + rm -rf "${pkgdir}/usr/lib/pkgconfig" 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/dbus-1.0 - 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/ - mv "$pkgdir"/usr/lib/dbus-1.0/include "$srcdir"/_libdbus/usr/lib/dbus-1.0/ - install -Dm644 COPYING "$srcdir"/_libdbus/usr/share/licenses/libdbus/COPYING } package_libdbus(){ pkgdesc="DBus library" depends=('glibc') - - mv "$srcdir"/_libdbus/* "$pkgdir" + cd dbus-$pkgver + make DESTDIR="$pkgdir" -C dbus install + make DESTDIR="$pkgdir" install-data-am + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/libdbus/COPYING" } |