[arch-commits] Commit in lib32-dbus/repos (2 files)

Laurent Carlier lcarlier at archlinux.org
Fri Oct 21 13:16:45 UTC 2016


    Date: Friday, October 21, 2016 @ 13:16:45
  Author: lcarlier
Revision: 192865

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-dbus/repos/multilib-testing-x86_64/
  lib32-dbus/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 192864, lib32-dbus/trunk/PKGBUILD)

----------+
 PKGBUILD |   62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)

Copied: lib32-dbus/repos/multilib-testing-x86_64/PKGBUILD (from rev 192864, lib32-dbus/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2016-10-21 13:16:45 UTC (rev 192865)
@@ -0,0 +1,62 @@
+# $Id$
+# Contributor : Ionut Biru <ibiru at archlinux.org>
+
+pkgname=lib32-dbus
+_pkgbasename=dbus
+pkgver=1.10.12
+pkgrel=1
+pkgdesc="Freedesktop.org message bus system (32-bit)"
+url="https://wiki.freedesktop.org/www/Software/dbus/"
+arch=(x86_64)
+license=(GPL custom)
+depends=(lib32-systemd dbus)
+makedepends=(gcc-multilib lib32-glib2 lib32-expat)
+provides=(lib32-libdbus)
+conflicts=(lib32-libdbus)
+replaces=(lib32-libdbus)
+source=(https://dbus.freedesktop.org/releases/dbus/dbus-$pkgver.tar.gz{,.asc})
+sha256sums=('210a79430b276eafc6406c71705e9140d25b9956d18068df98a70156dc0e475d'
+            'SKIP')
+validpgpkeys=('DA98F25C0871C49A59EAFF2C4DE8FF2A63C7CC90'  # Simon McVittie <simon.mcvittie at collabora.co.uk>
+              '3C8672A0F49637FE064AC30F52A43A1E4B77B059') # Simon McVittie <simon.mcvittie at collabora.co.uk>
+
+prepare() {
+  cd dbus-$pkgver
+  autoreconf -fvi
+}
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd dbus-$pkgver
+
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib32 \
+      --libexecdir=/usr/lib/dbus-1.0 --with-dbus-user=dbus \
+      --with-system-pid-file=/run/dbus/pid \
+      --with-system-socket=/run/dbus/system_bus_socket \
+      --with-console-auth-dir=/run/console/ \
+      --enable-inotify --disable-static \
+      --disable-verbose-mode --disable-asserts \
+      --with-systemdsystemunitdir=/usr/lib/systemd/system \
+      --enable-systemd --enable-user-session
+  make
+}
+
+check() {
+  cd dbus-$pkgver
+  make check
+}
+
+package() {
+  cd dbus-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  rm -r "$pkgdir"/usr/{bin,include,lib,share}
+  rm -r "$pkgdir"/{etc,var}
+
+  install -d "$pkgdir/usr/share/licenses"
+  ln -s dbus "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list