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

Untitled

By: dotfloat on Apr 21st, 2013  |  syntax: Bash  |  size: 1.24 KB  |  views: 76  |  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. # Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
  2. # Contributor: Martin Erik Werner ("arand") <martinerikwerner@gmail.com>
  3.  
  4. pkgname=redeclipse
  5. pkgver=1.4
  6. pkgrel=1
  7. pkgdesc="A single-player and multi-player first-person ego-shooter, built as a total conversion of Cube Engine 2"
  8. arch=('i686' 'x86_64')
  9. url="http://redeclipse.net"
  10. license=('custom' 'CCPL' 'ZLIB' 'MIT')
  11. depends=('sdl_image'  'libgl' 'sdl_mixer' 'hicolor-icon-theme')
  12. makedepends=('mesa' 'imagemagick')
  13. install=redeclipse.install
  14. source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}_${pkgver}_nix.tar.bz2)
  15.  
  16. build() {
  17.         cd "$srcdir/$pkgname-$pkgver/src"
  18.         make
  19. }
  20.  
  21. package() {
  22.         cd "$srcdir/$pkgname-$pkgver"
  23.  
  24.         make -C src DESTDIR="$pkgdir" prefix=/usr system-install
  25.  
  26.         chown -R root:games "$pkgdir/usr/"{share,lib}"/redeclipse"
  27.         chmod -R o-rwx "$pkgdir/usr/lib/redeclipse"
  28.         find "$pkgdir/usr/share/redeclipse" -type d -exec chmod 750 {} \;
  29.         find "$pkgdir/usr/share/redeclipse" -type f -exec chmod 640 {} \;
  30.  
  31.         #install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  32.         #install -Dm644 trademark.txt "$pkgdir/usr/share/licenses/$pkgname/TRADEMARK"
  33. }
  34.  
  35. sha256sums=('a0dfc527b0f437170a423b55df68a97e1b6e60d8c9fb6c842519b6670c1e69bf')
clone this paste RAW Paste Data