pkgname=supertux pkgver=0.3.5.a _pkgver=0.3.5a pkgrel=1 pkgdesc="A classic 2D jump'n run sidescroller game in a style similar to the original SuperMario games" arch=('x86_64') url="http://super-tux.sourceforge.net/" license=('GPL') depends=('sdl2_image' 'curl' 'physfs' 'openal' 'libvorbis' 'glew') makedepends=('cmake' 'boost' 'mesa' 'optipng') source=(https://github.com/SuperTux/supertux/archive/v${_pkgver}.tar.gz) md5sums=('da8285711b2a07d425c81a15810ec2a0') build() { cd "${pkgname}-${_pkgver}" cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin . make } package() { cd "${pkgname}-${_pkgver}" make DESTDIR="${pkgdir}" install }