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

Josephgbr

By: a guest on Jan 26th, 2011  |  syntax: Bash  |  size: 0.82 KB  |  views: 64  |  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=libgnomecanvas
  2. pkgname=lib32-$_pkgbasename
  3. pkgver=2.30.2
  4. pkgrel=1
  5. pkgdesc="The GNOME Canvas library (32 bit)"
  6. arch=('x86_64')
  7. license=('LGPL')
  8. depends=('lib32-libglade>=2.6.4' 'lib32-libart-lgpl>=2.3.21' $_pkgbasename)
  9. makedepends=('pkgconfig' 'intltool' 'gcc-multilib')
  10. options=('!libtool')
  11. url="http://www.gnome.org"
  12. source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/2.30/${_pkgbasename}-${pkgver}.tar.bz2)
  13. sha256sums=('a74edb1054cd394ea7514c6abdf7539b0b4c6d62a34c2ab5e30ba231af1f13f9')
  14.  
  15. build() {
  16.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  17.   ./configure --prefix=/usr --disable-static \
  18.       --enable-glade --libdir=/usr/lib32 CC='gcc -m32'
  19.   make
  20. }
  21.  
  22. package() {
  23.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  24.   make DESTDIR="${pkgdir}" install
  25.   rm -rf ${pkgdir}/usr/{include,share}
  26. }
clone this paste RAW Paste Data