pkgname=supertux pkgver=0.5.0 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' 'git') source=(https://github.com/SuperTux/$pkgname/releases/download/v${pkgver}/SuperTux-v${pkgver}-Source.tar.gz) md5sums=('3bb7c1f3f622da79ec9fe1ebc521f286') build() { cd "SuperTux-v${pkgver}-Source" cmake -D CMAKE_INSTALL_PREFIX=/usr -D INSTALL_SUBDIR_BIN=bin . make } package() { cd "SuperTux-v${pkgver}-Source" make DESTDIR="${pkgdir}" install }