summaryrefslogtreecommitdiff
path: root/community/pingus/PKGBUILD
blob: 04ccb85efe637725d50cd1e1fa1d1c97728e5d5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 67202 2012-03-05 08:58:41Z ibiru $
# Maintainer: Eric Belanger <eric@archlinux.org>

pkgname=pingus
pkgver=0.7.6
pkgrel=3
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')
source=(http://pingus.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2
	pingus.desktop)
md5sums=('561798686f34d3fa4e69135d655f47ac'
         '9eec34047bdcff49e08f41e81764e20c')
sha1sums=('b5f5a25d71beb197c9466fb8928018a377f56487'
          '579a1144f161ce89e6e024cea37210149b89c0c0')

build() {
  cd ${pkgname}-${pkgver}

  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"
}