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

Josephgbr

By: a guest on Jan 25th, 2011  |  syntax: Bash  |  size: 0.86 KB  |  views: 133  |  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=gtk-engines
  2. pkgname=lib32-$_pkgbasename
  3. pkgver=2.20.2
  4. pkgrel=1
  5. pkgdesc="Theme engines for GTK+ 2 (32 bit, libraries only)"
  6. arch=(x86_64)
  7. license=('GPL' 'LGPL')
  8. depends=('lib32-gtk2>=2.22.0' $_pkgbasename)
  9. makedepends=('pkgconfig' 'gcc-multilib')
  10. options=(!libtool)
  11. url="http://live.gnome.org/GnomeArt"
  12. source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/2.20/${_pkgbasename}-${pkgver}.tar.bz2)
  13. sha256sums=('15b680abca6c773ecb85253521fa100dd3b8549befeecc7595b10209d62d66b5')
  14.  
  15. build() {
  16.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  17.  
  18.   export CC='gcc -m32'
  19.   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
  20.  
  21.   ./configure --prefix=/usr --libdir=/usr/lib32 --enable-animation || return 1
  22.   make || return 1
  23. }
  24.  
  25. package() {
  26.   cd "${srcdir}/${_pkgbasename}-${pkgver}"
  27.   make DESTDIR="${pkgdir}" install
  28.   rm -rf ${pkgdir}/usr/share
  29. }
clone this paste RAW Paste Data