summaryrefslogtreecommitdiff
path: root/community-testing/pingus/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/pingus/PKGBUILD')
-rw-r--r--community-testing/pingus/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community-testing/pingus/PKGBUILD b/community-testing/pingus/PKGBUILD
new file mode 100644
index 000000000..05fe24127
--- /dev/null
+++ b/community-testing/pingus/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 73767 2012-07-15 13:19:53Z ibiru $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+
+pkgname=pingus
+pkgver=0.7.6
+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=('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'
+ 'pingus-0.7.6-gcc470-udl.patch')
+md5sums=('561798686f34d3fa4e69135d655f47ac'
+ '9eec34047bdcff49e08f41e81764e20c'
+ '3730bdad38c21c67203456a985945473')
+sha1sums=('b5f5a25d71beb197c9466fb8928018a377f56487'
+ '579a1144f161ce89e6e024cea37210149b89c0c0'
+ '143dd9969e8d100d29ed4f5b2039dde627afeb06')
+
+build() {
+ cd ${pkgname}-${pkgver}
+
+ # fedora patch to fix error due to new standards
+ # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51282
+ patch -Np0 -i ${srcdir}/pingus-0.7.6-gcc470-udl.patch
+
+ 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"
+}