Want more features on Pastebin? Sign Up, it's FREE!
Guest

lib32-libsigc++

By: a guest on Jun 12th, 2011  |  syntax: Bash  |  size: 0.90 KB  |  views: 70  |  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=libsigc++
  2. pkgname=lib32-$_pkgbasename
  3. pkgver=2.2.9
  4. pkgrel=2
  5. pkgdesc="Libsigc++ implements a full callback system for use in widget libraries - V2 (32 bit)"
  6. arch=('x86_64')
  7. url="http://libsigc.sourceforge.net/"
  8. license=('LGPL')
  9. depends=("lib32-gcc-libs" "$_pkgbasename")
  10. makedepends=('gcc-multilib')
  11. options=(!libtool !emptydirs)
  12. source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgbasename}/2.2/${_pkgbasename}-${pkgver}.tar.bz2)
  13. sha256sums=('2f4c083e01d9be377669206bd97090d2e95bc05f2e8d95447c9f9ce92bdfbb63')
  14.  
  15. build() {
  16.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  17.   ./configure --prefix=/usr --libdir=/usr/lib32 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
  26.   install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
  27. }
clone this paste RAW Paste Data