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

lib32-dbus-glib-0.102-1: PKGBUILD

By: jtts on Feb 20th, 2014  |  syntax: None  |  size: 1.08 KB  |  views: 37  |  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. # Maintainer: Simone Pietro Rossi <spr995.spr@gmail.com>
  2. # Contributor: josephgbr <rafael.f.f1@gmail.com>
  3. # Contributor: Jan de Groot <jgc@archlinux.org>
  4. # Contributor: jtts
  5.  
  6. _pkgbasename=dbus-glib
  7. pkgname=lib32-$_pkgbasename
  8. pkgver=0.102
  9. pkgrel=1
  10. pkgdesc="GLib bindings for DBUS (32-bit)"
  11. arch=(x86_64)
  12. license=(GPL)
  13. url="http://www.freedesktop.org/wiki/Software/DBusBindings"
  14. depends=(lib32-dbus-core lib32-glib2 $_pkgbasename)
  15. makedepends=(gcc-multilib pkg-config)
  16. options=('!emptydirs')
  17. source=(http://dbus.freedesktop.org/releases/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz)
  18. sha256sums=('6964ed585bb8149a14ab744b5ded5e77cf71ec5446e6dcc5fcf5eebcc52df29c')
  19.  
  20. build() {
  21.   export CC='gcc -m32'
  22.   export CXX='g++ -m32'
  23.   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
  24.  
  25.   cd $_pkgbasename-$pkgver
  26.   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
  27.       --enable-static=no --enable-bash-completion=no \
  28.       --libdir=/usr/lib32
  29.   make
  30. }
  31.  
  32. package() {
  33.   cd $_pkgbasename-$pkgver
  34.   make DESTDIR="$pkgdir" install
  35.   rm -rf "$pkgdir/usr"/{bin,include,share}
  36. }