This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

lib32-libglademm

By: a guest on Jun 7th, 2011  |  syntax: Bash  |  size: 0.84 KB  |  views: 51  |  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=libglademm
  2. pkgname=lib32-$_pkgbasename
  3. pkgver=2.6.7
  4. pkgrel=1
  5. pkgdesc="A C++ wrapper for libglade (32 bit)"
  6. arch=('x86_64')
  7. url="http://gtkmm.sourceforge.net/"
  8. license=('LGPL')
  9. depends=('lib32-libglade' 'lib32-gtkmm' "$_pkgbasename")
  10. makedepends=('gcc-multilib')
  11. options=('!libtool')
  12. source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/${pkgver%.*}/${_pkgbasename}-${pkgver}.tar.bz2)
  13. md5sums=('f9ca5b67f6c551ea98790ab5f21c19d0')
  14.  
  15. build() {
  16.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  17.   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib32 CC='gcc -m32' CXX='g++ -m32'
  18.   make
  19. }
  20.  
  21. check() {
  22.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  23.   make check
  24. }
  25.  
  26. package() {
  27.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  28.   make DESTDIR="${pkgdir}" install
  29.   rm -rf ${pkgdir}/usr/{include,share}
  30. }
clone this paste RAW Paste Data