# $Id: PKGBUILD 90077 2013-05-06 19:39:04Z foutrelis $ # Maintainer: Eric Belanger pkgname=pingus pkgver=0.7.6 pkgrel=8 pkgdesc="A Lemmings clone, i.e. a level-based puzzle game." arch=('i686' 'x86_64' 'mips64el') url="http://pingus.seul.org" license=('GPL') depends=('sdl_image' 'sdl_mixer' 'libgl' 'boost-libs>=1.49') makedepends=('scons' 'boost>=1.49' 'mesa' 'glu') source=("http://pingus.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2" 'pingus.desktop' 'pingus-0.7.6-gcc470-udl.patch') sha1sums=('b5f5a25d71beb197c9466fb8928018a377f56487' '579a1144f161ce89e6e024cea37210149b89c0c0' '143dd9969e8d100d29ed4f5b2039dde627afeb06') build() { cd ${pkgname}-${pkgver} # fedora patch to fix error due to new standards # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51282 patch -Np0 -i ${srcdir}/pingus-0.7.6-gcc470-udl.patch scons prefix=/usr } package() { cd ${pkgname}-${pkgver} make install DESTDIR="${pkgdir}" PREFIX="/usr" install -D -m644 "${srcdir}/pingus.desktop" "${pkgdir}/usr/share/applications/pingus.desktop" }