lib32/lib32-dbus-glib/PKGBUILD
2011-10-16 14:22:23 +00:00

42 lines
1.1 KiB
Bash

# Lib32 Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# maintainer (x86_64): Anke Boersma <abveritas[at]chakra-project[dot]org>
_pkgbasename=dbus-glib
pkgname=lib32-${_pkgbasename}
pkgver=0.94
pkgrel=1
pkgdesc="GLib bindings for DBUS (32-bit)"
arch=(x86_64)
license=('GPL')
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
depends=('lib32-dbus-core' 'lib32-glib2' ${_pkgbasename})
makedepends=('gcc-multilib' 'pkgconfig')
options=(!libtool !emptydirs)
source=(http://dbus.freedesktop.org/releases/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
md5sums=('e1f1506a6f4941e67bffd614b1ad5af6')
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
cd "${srcdir}/${_pkgbasename}-${pkgver}"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--libdir=/usr/lib32 \
--enable-static=no \
--enable-bash-completion=no
make
make DESTDIR="${pkgdir}" install
}
package() {
cd "${srcdir}/${_pkgbasename}-${pkgver}"
make DESTDIR=${pkgdir} install
rm -rf "${pkgdir}"/usr/{bin,include,share}
}