Advertisement
Guest User

Untitled

a guest
Jan 14th, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. # Maintainer: Chris Oelmueller <chris.oelmueller@gmail.com>
  2. # Contributor: Yaohan Chen <yaohan.chen@gmail.com>
  3. # Contributor: Thomas Kinnen <thomas.kinnen@gmail.com>
  4. pkgname=fife-git
  5. provides=("fife" "fife-svn")
  6. conflicts=("fife" "fife-svn")
  7. pkgdesc="The mission of the FIFE project is to create a cross platform game creation framework"
  8. url="http://www.fifengine.net/"
  9. pkgver=0.3.4.r608.gba383ca
  10. pkgrel=1
  11. arch=('i686' 'x86_64')
  12. license=('LGPL')
  13. depends=('sdl2' 'boost' 'sdl2_ttf' 'sdl2_image' 'libvorbis' 'libogg' 'openal' 'swig' 'python2' 'zlib' 'libgl' 'libpng' 'tinyxml' 'fifechan-git', 'cegui')
  14. makedepends=('cmake' 'git')
  15. source=(git+https://github.com/fifengine/fifengine.git)
  16. md5sums=('SKIP')
  17.  
  18. pkgver() {
  19. cd "$srcdir/fifengine"
  20. git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
  21. }
  22.  
  23. build() {
  24. cd "$srcdir/fifengine"
  25. # [TODO] Due to severe laziness, I have not tested in-source builds yet
  26. [[ -d "build" ]] && rm -r "build"
  27. mkdir -p "build" && cd "build"
  28. cmake \
  29. -DCMAKE_INSTALL_PREFIX:PATH=/usr \
  30. -DCEGUI=ON \
  31. ..
  32. make
  33. }
  34.  
  35. package() {
  36. cd "$srcdir/fifengine"
  37. cd "build"
  38. make DESTDIR=$pkgdir install
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement