New package: pingus-0.7.6.

This commit is contained in:
Juan RP 2013-07-04 02:16:45 +02:00
parent 6004d1722e
commit c9a928ceed
3 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Name=Pingus
Comment=A free Lemmings[tm] clone
Exec=pingus
Terminal=false
Type=Application
Categories=Application;Game;LogicGame
Icon=/usr/share/pingus/images/core/editor/actions.png

View file

@ -0,0 +1,22 @@
--- src/pingus/pingus_main.cpp~ 2011-12-24 15:46:47.000000000 -0600
+++ src/pingus/pingus_main.cpp 2012-01-03 13:13:03.034195720 -0600
@@ -465,7 +465,7 @@
void
PingusMain::print_greeting_message()
{
- std::string greeting = "Welcome to Pingus "VERSION;
+ std::string greeting = "Welcome to Pingus " VERSION;
greeting += "!";
std::cout << greeting << std::endl;
for (unsigned int i = 0; i < greeting.length(); ++i)
--- src/pingus/screens/pingus_menu.cpp~ 2011-12-24 15:46:47.000000000 -0600
+++ src/pingus/screens/pingus_menu.cpp 2012-01-03 13:30:28.967700554 -0600
@@ -153,7 +153,7 @@
gc.get_height()/2 - 280));
gc.print_left(Fonts::pingus_small, Vector2i(gc.get_width()/2 - 400 + 25, gc.get_height()-140),
- "Pingus "VERSION" - Copyright (C) 1998-2011 Ingo Ruhnke <grumbel@gmail.com>\n"
+ "Pingus " VERSION " - Copyright (C) 1998-2011 Ingo Ruhnke <grumbel@gmail.com>\n"
"See the file AUTHORS for a complete list of contributors.\n"
"Pingus comes with ABSOLUTELY NO WARRANTY. This is free software, and you are\n"
"welcome to redistribute it under certain conditions; see the file COPYING for details.\n");

27
srcpkgs/pingus/template Normal file
View file

@ -0,0 +1,27 @@
# Template file for 'pingus'
pkgname=pingus
version=0.7.6
revision=1
hostmakedepends="scons pkg-config"
makedepends="SDL_image-devel SDL_mixer-devel boost-devel libpng-devel libXi-devel zlib-devel"
short_desc="Free Lemmings-like puzzle game"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://pingus.seul.org/welcome.html"
distfiles="http://pingus.googlecode.com/files/pingus-${version}.tar.bz2"
checksum=759c1253075d1e72691bc1e770b24cdd51917041fd1857c1daf85b65a6686460
do_build() {
scons prefix=/usr
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vinstall ${FILESDIR}/pingus.desktop 644 usr/share/applications
}
pingus_package() {
pkg_install() {
vmove all
}
}