summaryrefslogtreecommitdiff
path: root/community/pingus/PKGBUILD
blob: bba3aea9e173ec9178f5122605717a047ecf15d8 (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 47672 2011-05-24 18:43:41Z tdziedzic $
# Maintainer: Eric Belanger <eric@archlinux.org>

pkgname=pingus
pkgver=0.7.3
pkgrel=4
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' 'boost-libs>=1.46')
makedepends=('scons' 'boost>=1.46')
source=(http://pingus.seul.org/files/${pkgname}-${pkgver}.tar.bz2 pingus.desktop)
md5sums=('7d1a0b0d658cc46dd09d6274f39acc7d'
         'b94efaa6e2de959de7fdb50cfc7dbdea')
sha1sums=('ca7fe5cea65fb3392d1e81056a879831925502f2'
          'f35649f3b0b2bfcb01ce75085cf719dcaa609a54')

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

  scons prefix=/usr
}

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

  ./install.sh "${pkgdir}/usr"

  install -D -m644 "${srcdir}/pingus.desktop" "${pkgdir}/usr/share/applications/pingus.desktop"
}