Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Dec 2nd, 2010  |  syntax: C++  |  size: 1.99 KB  |  hits: 175  |  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. # Contributor: Sean Streeter <anubis2591 at gmail dot com>
  2. pkgname=skulltag
  3. pkgver=098d
  4. pkgrel=2
  5. pkgdesc="Closed source OpenGL ZDoom port with Client/Server multiplayer."
  6. arch=('i686' 'x86_64')
  7. url="http://skulltag.net/"
  8. license=('closed')
  9. groups=()
  10. #st can be run without nasm,p7zip, and timidity++
  11. depends=(flac sdl p7zip gtk2 libjpeg6)
  12. optdepends=('timidity++: midi support'
  13.             'freedoom: free IWAD')
  14. install=${pkgname}.install
  15. source=(http://skulltag.net/download/files/release/st-v${pkgver}_linux-base.tar.bz2 \
  16.         http://skulltag.net/download/files/release/st-v${pkgver}_linux-x86.tar.bz2 \
  17.         http://www.fmod.org/index.php/release/version/fmodapi42416linux.tar.gz)
  18. md5sums=('afe482e04ce3f51c94915e07c3aff3b0'
  19.          'faa005fc5b44da424d87d6a17eaafccb'
  20.          '00b157e8d09d539b0a7023c48b71422a')
  21. if [ "$CARCH" = "x86_64" ]; then
  22. source=(http://www.skulltag.com/download/files/release/st-v${pkgver}_linux-base.tar.bz2 \
  23.         http://skulltag.net/download/files/release/st-v${pkgver}_linux-x86_64.tar.bz2 \
  24.         http://www.fmod.org/index.php/release/version/fmodapi42416linux64.tar.gz)
  25. md5sums=('afe482e04ce3f51c94915e07c3aff3b0'
  26.          '46e677cc851698ac101d42b6140b6047'
  27.          '70b2a6a2618ee9823ab564b4e945c885')
  28. fi
  29. build() {
  30.   cd $srcdir
  31.  
  32.   mkdir -p $pkgdir/usr/local/share/{skins,announcer}
  33.   install -D -m755 skulltag $pkgdir/usr/bin/skulltag
  34.   install -D -m755 skulltag-server $pkgdir/usr/bin/skulltag-server
  35.   install -D -m644 {skulltag,skulltag_data}.pk3 $pkgdir/usr/local/share/
  36.   install -D -m775 libsnes_spc.so $pkgdir/usr/lib/libsnes_spc.so
  37.   install -D -m644 skins/*.pk3 $pkgdir/usr/local/share/skins
  38.   install -D -m644 announcer/Skulltag_98a_announcer.pk3 $pkgdir/usr/local/share/announcer
  39. [ "$CARCH" = "i686" ] && install -D -m775 fmodapi42416linux/api/lib/libfmodex-4.24.16.so $pkgdir/usr/lib/libfmodex-4.24.16.so
  40. [ "$CARCH" = "x86_64" ] && install -D -m775 fmodapi42416linux64/api/lib/libfmodex64-4.24.16.so $pkgdir/usr/lib/libfmodex64-4.24.16.so
  41. }