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

Felix Yan fyan at archlinux.org
Wed Nov 12 03:50:42 UTC 2014


    Date: Wednesday, November 12, 2014 @ 04:50:42
  Author: fyan
Revision: 122418

archrelease: copy trunk to multilib-testing-x86_64

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

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

Copied: lib32-libdbus/repos/multilib-testing-x86_64/PKGBUILD (from rev 122417, lib32-libdbus/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2014-11-12 03:50:42 UTC (rev 122418)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+
+pkgname=lib32-libdbus
+_pkgbasename=libdbus
+pkgver=1.8.10
+pkgrel=1
+pkgdesc="DBus library (32-bit)"
+arch=('x86_64')
+url="http://www.freedesktop.org/Software/dbus"
+license=('GPL' 'custom')
+depends=('lib32-glibc' 'lib32-expat' 'libdbus')
+makedepends=('gcc-multilib' 'lib32-libx11')
+provides=('lib32-dbus-core' 'lib32-dbus')
+conflicts=('lib32-dbus-core' 'lib32-dbus')
+replaces=('lib32-dbus-core' 'lib32-dbus')
+source=(http://dbus.freedesktop.org/releases/dbus/dbus-${pkgver}.tar.gz)
+md5sums=('6be5ef99ae784de9d04589eb067fe038')
+
+build() {
+    export CC="gcc -m32"
+    export CXX="g++ -m32"
+    export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+    cd "${srcdir}/dbus-${pkgver}"
+
+    ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib32 \
+        --libexecdir=/usr/lib/dbus-1.0 --with-dbus-user=81 \
+        --with-system-pid-file=/run/dbus.pid \
+        --with-console-auth-dir=/run/console/ \
+        --enable-inotify --disable-dnotify \
+        --disable-verbose-mode --disable-static \
+        --disable-tests --disable-asserts --disable-systemd		
+
+    make
+}
+
+package() {
+    cd "${srcdir}/dbus-${pkgver}"
+    make DESTDIR=${pkgdir} install
+
+    rm -rf "${pkgdir}"/usr/{bin,include,lib,share}
+    rm -rf "${pkgdir}"/{etc,var}
+
+    mkdir -p "${pkgdir}/usr/share/licenses"
+    ln -s ${_pkgbasename} "${pkgdir}/usr/share/licenses/${pkgname}"
+}


More information about the arch-commits mailing list