diff --git a/game/arcade/zaz/actions.py b/game/arcade/zaz/actions.py new file mode 100644 index 0000000000..708a29f1ed --- /dev/null +++ b/game/arcade/zaz/actions.py @@ -0,0 +1,30 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import get +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools + +def setup(): + #autotools.autoreconf("-vif") + autotools.configure("--disable-splash") + + # Remove zaz.pot so that make will create pot and catalog files + #shelltools.unlink("po/zaz.pot") + + # Inject -lvorbis into the Makefile + shelltools.system('sed -i -e "/^LIBS\s*=*/s|$| -lvorbis|" Makefile src/Makefile') + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.remove("/usr/share/doc/zaz/INSTALL") + + pisitools.dosed("%s/usr/share/applications/zaz.desktop" % get.installDIR(), "Icon=zaz", "Icon=/usr/share/pixmaps/zaz.png") diff --git a/game/arcade/zaz/files/desktop.patch b/game/arcade/zaz/files/desktop.patch new file mode 100644 index 0000000000..dc32eaa6cd --- /dev/null +++ b/game/arcade/zaz/files/desktop.patch @@ -0,0 +1,19 @@ +Index: zaz-1.0.0/extra/zaz.desktop +=================================================================== +--- zaz-1.0.0.orig/extra/zaz.desktop ++++ zaz-1.0.0/extra/zaz.desktop +@@ -2,6 +2,9 @@ + Version=1.0 + Type=Application + Name=Zaz ++Name[tr]=Zaz ++GenericName=Zaz ++GenericName[tr]=Zaz + Comment=Zaz ain't Z*** + Comment[ru]=Zaz не клон Z*** + Comment[tr]=Top Yok Etme Oyunu +@@ -9,4 +12,3 @@ TryExec=zaz + Exec=zaz + Categories=Game;LogicGame; + Icon=zaz +-MimeType= diff --git a/game/arcade/zaz/files/tr-translation.patch b/game/arcade/zaz/files/tr-translation.patch new file mode 100644 index 0000000000..8582984d93 --- /dev/null +++ b/game/arcade/zaz/files/tr-translation.patch @@ -0,0 +1,22 @@ +Index: zaz-1.0.0/po/tr.po +=================================================================== +--- zaz-1.0.0.orig/po/tr.po ++++ zaz-1.0.0/po/tr.po +@@ -43,7 +43,7 @@ msgstr "Çıkış" + + #: src/mainmenu.cpp:40 src/mainmenu.cpp:353 + msgid "Profile:" +-msgstr "Profil" ++msgstr "Profil:" + + #: src/mainmenu.cpp:48 src/mainmenu.cpp:56 + msgid "Back" +@@ -231,7 +231,7 @@ msgstr "İptal" + + #: src/mainmenu.cpp:221 + msgid "Apply" +-msgstr "Uygulama" ++msgstr "Uygula" + + #: src/mainmenu.cpp:643 + msgid "Hall of Fame" diff --git a/game/arcade/zaz/files/zaz.png b/game/arcade/zaz/files/zaz.png new file mode 100644 index 0000000000..eb93c2f8d7 Binary files /dev/null and b/game/arcade/zaz/files/zaz.png differ diff --git a/game/arcade/zaz/pspec.xml b/game/arcade/zaz/pspec.xml new file mode 100644 index 0000000000..a1bb096c7a --- /dev/null +++ b/game/arcade/zaz/pspec.xml @@ -0,0 +1,67 @@ + + + + + zaz + http://zaz.sourceforge.net + + Pisi Linux Admins + admins@pisilinux.org + + GPLv3 + app:gui + zaz + Luxor and Zuma like game + Zaz is a game where the player has to get rid of incoming balls by arranging them in triplets. + mirrors://sourceforge/zaz/zaz-1.0.0.tar.bz2 + + libsdl-devel + libvorbis-devel + libtheora-devel + libogg-devel + ftgl-devel + sdl-image-devel + mesa-devel + + + desktop.patch + tr-translation.patch + + + + + zaz + + ftgl + mesa + libogg + libsdl + sdl-image + libvorbis + libtheora + libgcc + + + zaz.png + + + /usr/share/doc + /usr/bin + /usr/share/zaz + /usr/share/pixmaps + /usr/share/applications + /usr/share/locale + + + + + + + 2010-12-06 + 1.0.0 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/game/arcade/zaz/translations.xml b/game/arcade/zaz/translations.xml new file mode 100644 index 0000000000..6472e4089b --- /dev/null +++ b/game/arcade/zaz/translations.xml @@ -0,0 +1,8 @@ + + + + zaz + Luxor ve Zuma benzeri bir oyun + Oyuncunun, ekrandaki topları üçerli gruplar haline getirerek yok ettiği bir oyun. + +