desktop/pingus/PKGBUILD

36 lines
962 B
Bash
Raw Normal View History

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
pkgname=pingus
2011-10-27 08:37:35 +08:00
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' 'boost-libs>=1.46')
makedepends=('boost>=1.46' 'scons')
2011-10-27 08:37:35 +08:00
source=("http://pingus.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
md5sums=('68e0bd1327e0eedcaab64d64528540ba')
build() {
2011-10-12 04:51:10 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
scons prefix=/usr
}
package() {
2011-10-12 04:51:10 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
make install PREFIX="${pkgdir}/usr"
# This is needed... the standard installation method it TOTALLY broken in this script creation.
cat > "${pkgdir}/usr/bin/pingus" <<EOF
#!/bin/sh
exec "/usr/bin/pingus.bin" --datadir "/usr/share/pingus"
EOF
chmod 755 "${pkgdir}/usr/bin/pingus"
}
2011-10-12 04:51:10 +08:00
# vim:set ts=2 sw=2 et: