summaryrefslogtreecommitdiff
path: root/community/pingus/PKGBUILD
blob: a0458f18af184b6b6cef666a2704dafdac22cbc7 (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
# $Id: PKGBUILD 40956 2011-03-02 21:08:01Z lcarlier $
# Maintainer: Eric Belanger <eric@archlinux.org>

pkgname=pingus
pkgver=0.7.3
pkgrel=3
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 "${srcdir}/${pkgname}-${pkgver}"

  scons prefix=/usr
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

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