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

Laurent Carlier lcarlier at nymeria.archlinux.org
Fri Jan 24 20:14:38 UTC 2014


    Date: Friday, January 24, 2014 @ 21:14:38
  Author: lcarlier
Revision: 104716

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 104715, lib32-libdbus/trunk/PKGBUILD)

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

Copied: lib32-libdbus/repos/multilib-testing-x86_64/PKGBUILD (from rev 104715, lib32-libdbus/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2014-01-24 20:14:38 UTC (rev 104716)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+
+pkgname=lib32-libdbus
+_pkgbasename=libdbus
+pkgver=1.8.0
+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=('059fbe84e39fc99c67a14f15b1f39dff')
+
+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