summaryrefslogtreecommitdiff
path: root/community/pingus/PKGBUILD
blob: f65d498861a56e28564a1979d9f0359445635f75 (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
# $Id: PKGBUILD 57378 2011-10-26 15:40:42Z lcarlier $
# Maintainer: Eric Belanger <eric@archlinux.org>

pkgname=pingus
pkgver=0.7.5
pkgrel=1
pkgdesc="A Lemmings clone, i.e. a level-based puzzle game."
arch=('i686' 'x86_64')
url="http://pingus.seul.org"
license=('GPL')
depends=('gcc-libs' 'sdl_image' 'sdl_mixer' 'libgl' 'boost-libs>=1.47')
makedepends=('scons' 'boost>=1.47' 'mesa')
source=(http://pingus.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2 pingus.desktop)
md5sums=('68e0bd1327e0eedcaab64d64528540ba'
         '9eec34047bdcff49e08f41e81764e20c')
sha1sums=('65493f9c9914bb401dbcfe1fe6bf2fad2388b755'
          '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"
}