# Template file for 'pingus'
pkgname=pingus
version=0.7.6
revision=2
hostmakedepends="scons pkg-config"
makedepends="SDL_image-devel SDL_mixer-devel boost-devel>=1.54 libpng-devel libXi-devel zlib-devel"
short_desc="Free Lemmings-like puzzle game"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://pingus.seul.org/welcome.html"
distfiles="http://pingus.googlecode.com/files/pingus-${version}.tar.bz2"
checksum=759c1253075d1e72691bc1e770b24cdd51917041fd1857c1daf85b65a6686460

do_build() {
	scons prefix=/usr
}

do_install() {
	make PREFIX=/usr DESTDIR=${DESTDIR} install
	vinstall ${FILESDIR}/pingus.desktop 644 usr/share/applications
}

pingus_package() {
	pkg_install() {
		vmove all
	}
}