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=zsxd
pkgver=1.11.0
pkgrel=1
pkgdesc="Free and opensource, amateur Zelda game with humoristic characters"
arch=('x86_64')
url="http://www.solarus-games.org/games/zelda-mystery-of-solarus-xd/"
screenshot="https://imgrush.com/A48seAzBSbW8.png"
license=('unknown' 'custom: proprietary: Nintendo')
depends=('solarus>=1.5.0')
makedepends=('zip' 'cmake')
source=("http://www.zelda-solarus.com/downloads/$pkgname/$pkgname-$pkgver.tar.gz"
        "zsxd.desktop")
sha512sums=('6c7d3b206b6bc24ae819bb64f667fe16ea208635b9d752d6a53c3e8b9573d5784319df720ea481cf798788aa49688caaa3b576d3c53562528f861b7db5b8662a'
            '0417d94ee357253902ff98e694630263b11211fefd31f9df6b29413d5aec5ef802d0a25e87520d70c5ee42e31e1fdb341954f5218831bf9ae18c3340447a50f8')
 
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
}