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

Josephgbr

By: a guest on Jan 25th, 2011  |  syntax: Bash  |  size: 0.88 KB  |  views: 134  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. _pkgbasename=dbus-glib
  2. pkgname=lib32-$_pkgbasename
  3. pkgver=0.92
  4. pkgrel=2
  5. pkgdesc="GLib bindings for DBUS (32 bit)"
  6. arch=(x86_64)
  7. license=('GPL')
  8. url="http://www.freedesktop.org/wiki/Software/DBusBindings"
  9. depends=('lib32-dbus-core' 'lib32-glib2' $_pkgbasename)
  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.   cd "${srcdir}/${_pkgbasename}-${pkgver}"  
  17.   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
  18.       --libdir=/usr/lib32 --enable-static=no --enable-bash-completion=no \
  19.       CC='gcc -m32' CXX='g++ -m32' || return 1
  20.   make || return 1
  21. }
  22. package() {
  23.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  24.   make DESTDIR="${pkgdir}" install
  25.   rm -rf ${pkgdir}/usr/{bin,include,share}
  26. }