Advertisement
Guest User

Untitled

a guest
Apr 10th, 2013
840
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. # Maintainer: Thomas Krug <phragment@lavabit.com>
  2. pkgname=scummvm-git
  3. pkgver=20130410
  4. pkgrel=1
  5. pkgdesc="A 'virtual machine' for several classic graphical point-and-click adventure games."
  6. arch=('i686' 'x86_64')
  7. url="http://www.scummvm.org"
  8. license=('GPL')
  9. depends=('sdl' 'libmad' 'fluidsynth' 'libgl' 'libtheora' 'faad2')
  10. source=('git://github.com/scummvm/scummvm.git')
  11. md5sums=('SKIP')
  12. provides=('scummvm')
  13. conflicts=('scummvm')
  14. replaces=('scummvm-svn')
  15. install=${pkgname}.install
  16. _gitname="scummvm"
  17.  
  18. pkgver() {
  19. date +"%Y%m%d"
  20. }
  21.  
  22.  
  23. build() {
  24. cd ${srcdir}/${_gitname}
  25.  
  26.  
  27. ./configure --backend=sdl \
  28. --with-flac-prefix=/usr \
  29. --prefix=/usr \
  30. --enable-all-engines || return 1
  31. make || return 1
  32. }
  33.  
  34. package() {
  35. cd ${srcdir}/${_gitname}
  36.  
  37. make DESTDIR=${pkgdir} install
  38. install -D -m 644 dists/scummvm.desktop ${pkgdir}/usr/share/applications/scummvm.desktop
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement