Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 8th, 2011  |  syntax: Bash  |  size: 0.91 KB  |  views: 126  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. _pkgbasename=dbus-glib
  2. pkgname=lib32-dbus-glib
  3. pkgver=0.92
  4. pkgrel=2
  5. pkgdesc="GLib bindings for DBUS (32-bit)"
  6. arch=(i686 x86_64)
  7. license=('GPL')
  8. url="http://www.freedesktop.org/wiki/Software/DBusBindings"
  9. depends=('lib32-dbus-core' 'lib32-glib2')
  10. makedepends=('gcc-multilib' 'pkgconfig')
  11. options=('!libtool' '!emptydirs')
  12. source=(http://dbus.freedesktop.org/releases/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
  13. md5sums=('b595b36890c4f9f8f5d5dec131c495f8')
  14.  
  15. build() {
  16.   export CC="gcc -m32"
  17.   export CXX="g++ -m32"
  18.   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
  19.  
  20.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  21.   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
  22.       --libdir=/usr/lib32 --enable-static=no --enable-bash-completion=no
  23.   make
  24. }
  25.  
  26. package() {
  27.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  28.   make DESTDIR="${pkgdir}" install
  29.   rm -rf ${pkgdir}/usr/{bin,include,share}
  30. }