Username: Password: Remember me
# Maintainer: tiemay <echo bnVhbEBjbWFpbC5udQo= | base64 -d>
# Contributor: BenObiWan <benobiwan @t gmail dot com>
# Contributor: Sam101 <zoetrem @t gmail dot com>
# cONTRibutor: BenObiWan <benobiwan @t gmail dot com>
# Contributor: Huulivoide
 
pkgname=zsdx
pkgver=1.11.0
pkgrel=1
pkgdesc="A free 2D Zelda fangame"
arch=('x86_64')
url="http://www.solarus-games.org/games/zelda-mystery-of-solarus-dx/"
screenshot="http://www.solarus-games.org/wp-content/uploads/2014/05/dungeon1_outside.png"
license=('unknown' 'custom: proprietary: Nintendo')
depends=('solarus>=1.4.0')
makedepends=('zip' 'cmake')
source=("http://www.zelda-solarus.com/downloads/$pkgname/$pkgname-$pkgver.tar.gz"
        "zsdx.desktop")
sha512sums=('6c51ce40b2dedde6adad1e032162748c1e843a0b177accad9bbbee256bfbfa61fbd19f513819165efdb6c413f8f6b73de9e1da606022f9407df3cd5d04ec5500'
            '7cfa5fd4b1a13e574ce851f706b9101ab7694647889c5616312dad77eaade5e7e5a8309edbf197048e939cc4e1e3854f1bf3c70f6bf075b6289f20567947d637')
 
build() {
  cd $pkgname-$pkgver
  cmake -D CMAKE_INSTALL_PREFIX="/usr" -D CMAKE_BUILD_TYPE=Release .
  make
}
 
package() {
  cd $pkgname-$pkgver
  make DESTDIR=$pkgdir PREFIX="/usr" install
  install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}