Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Oct 10th, 2010  |  syntax: None  |  size: 1.34 KB  |  hits: 170  |  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. # Maintainer: Frozen Fox <frozenfoxz@gmail.com>
  2. # Contributor: Arvid Norlander <anmaster A_T tele2 d_o_t (ccTLD for Sweden, which is se)>
  3. # Contributor: Intrepid, edited from Rabyte's PKGBUILD with code from anykey
  4. # Contributor: Aurelien Foret <orelien@chez.com>
  5.  
  6. pkgname=bin32-zsnes-netplay
  7. pkgver=1.42n
  8. pkgrel=1
  9. pkgdesc="Super Nintendo emulator, patched old ver with netplay"
  10. arch=('x86_64')
  11. url="http://www.zsnes.com/"
  12. license=('GPL')
  13. depends=('lib32-libgl' 'lib32-libpng>=1.4.0' 'lib32-sdl>=1.2'
  14.          'lib32-ncurses' 'lib32-libxdamage' 'lib32-gcc-libs'
  15.          'lib32-glibc' 'lib32-mesa')
  16. conflicts=('bin32-zsnes')
  17. source=('zsnes-netplay-1.42n-1-i686.pkg.tar.xz'
  18.         'zsnes.desktop'
  19.         'zsnes_icon.png')
  20. md5sums=('17d6c276f7d4cc95d33e7be8e398523f'
  21.          'b100b2aa342c551167d7c5dcdcde9dd4'
  22.          'b5260c02adfc3b7ff725041214b00bfd')
  23.  
  24. build() {
  25.   mkdir -p $startdir/pkg/opt/lib32/usr
  26.   cp -R $startdir/src/usr/* $startdir/pkg/opt/lib32/usr
  27.   mkdir $startdir/pkg/usr
  28.   mkdir $startdir/pkg/usr/bin
  29.   ln -s /opt/lib32/usr/bin/zsnes $startdir/pkg/usr/bin
  30.  
  31.   # Install start menu entries and desktop icons
  32.   install -dm755 ${pkgdir}/usr/share
  33.   install -Dm644 ${srcdir}/zsnes.desktop ${pkgdir}/usr/share/applications/zsnes.desktop
  34.   install -Dm644 ${srcdir}/zsnes_icon.png ${pkgdir}/usr/share/pixmaps/zsnes_icon.png
  35. }