SHARE
TWEET

Untitled

a guest Sep 25th, 2013 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: Fernando Carmona Varo <ferkiwi@gmail.com>
  2. # Contributor: BenObiWan <benobiwan @t gmail dot com>
  3. pkgname=solarus-git
  4. pkgver=5462.2566e5f
  5. pkgrel=1
  6. epoch=
  7. pkgdesc="An open-source Zelda-like 2D game engine used by the games zsxd and zsdx."
  8. arch=('i686' 'x86_64')
  9. url="http://www.solarus-engine.org/"
  10. license=('GPL3')
  11. groups=()
  12. depends=('sdl_image' 'sdl_ttf' 'lua51' 'physfs' 'openal' 'libmodplug' 'libvorbis')
  13. makedepends=('git' 'cmake' 'zip' )
  14. checkdepends=()
  15. optdepends=('zsxd-git' 'zsdx-git')
  16. provides=('solarus-engine')
  17. conflicts=('solarus')
  18. backup=()
  19. options=()
  20. install=
  21. changelog=
  22. source=("$pkgname"::'git://github.com/christopho/solarus.git#branch=master')
  23. noextract=()
  24. md5sums=('SKIP')
  25.  
  26. pkgver() {
  27.   cd "${srcdir}/${pkgname}"
  28.   printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  29. }
  30.  
  31. build() {
  32.   cd "${srcdir}/${pkgname}"
  33.  
  34.   cmake -D LUA_INCLUDE_DIR=/usr/include/lua5.1 -D CMAKE_INSTALL_PREFIX="/usr" -D CMAKE_BUILD_T
  35. YPE=Release -D DEFAULT_QUEST=/usr/share/solarus/zsdx .
  36.   make
  37. }
  38.  
  39. package() {
  40.   cd "${srcdir}/${pkgname}"
  41.   make DESTDIR="${pkgdir}/" PREFIX="/usr" install
  42. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top