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

lib32-glibmm

By: a guest on May 4th, 2011  |  syntax: Bash  |  size: 0.85 KB  |  views: 60  |  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=glibmm
  2. pkgname=lib32-$_pkgbasename
  3. pkgver=2.28.0
  4. pkgrel=1
  5. pkgdesc="Glib-- (glibmm) is a C++ interface for glib (32 bit, library only)"
  6. arch=('x86_64')
  7. license=('LGPL')
  8. depends=('lib32-glib2' 'lib32-libsigc++')
  9. makedepends=('gcc-multilib')
  10. source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgbasename}/2.28/${_pkgbasename}-${pkgver}.tar.bz2)
  11. options=('!libtool')
  12. url="http://gtkmm.sourceforge.net/"
  13. sha256sums=('b1b99868896b028354141e3b2470d98799283e90154550e12614f692db17a5a3')
  14.  
  15. build() {
  16.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  17.   ./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32' CXX='g++ -m32'
  18.   make
  19. }
  20.  
  21. package() {
  22.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  23.   sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
  24.   make DESTDIR="${pkgdir}" install
  25.   rm -rf ${pkgdir}/usr/{include,share,lib32/glibmm-*,lib32/giomm-*}
  26. }
clone this paste RAW Paste Data