add package zaz arcade game

This commit is contained in:
erkanisik1
2020-06-29 12:43:22 +03:00
parent 2cb4f30162
commit 6e74bebce0
6 changed files with 146 additions and 0 deletions
+30
View File
@@ -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")
+19
View File
@@ -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=
@@ -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"
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

+67
View File
@@ -0,0 +1,67 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>zaz</Name>
<Homepage>http://zaz.sourceforge.net</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<IsA>app:gui</IsA>
<Icon>zaz</Icon>
<Summary>Luxor and Zuma like game</Summary>
<Description>Zaz is a game where the player has to get rid of incoming balls by arranging them in triplets.</Description>
<Archive sha1sum="a453b74d30bfb9b349b7a8213122a18c5e851924" type="tarbz2">mirrors://sourceforge/zaz/zaz-1.0.0.tar.bz2</Archive>
<BuildDependencies>
<Dependency>libsdl-devel</Dependency>
<Dependency>libvorbis-devel</Dependency>
<Dependency>libtheora-devel</Dependency>
<Dependency>libogg-devel</Dependency>
<Dependency>ftgl-devel</Dependency>
<Dependency>sdl-image-devel</Dependency>
<Dependency>mesa-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">desktop.patch</Patch>
<Patch level="1">tr-translation.patch</Patch>
</Patches>
</Source>
<Package>
<Name>zaz</Name>
<RuntimeDependencies>
<Dependency>ftgl</Dependency>
<Dependency>mesa</Dependency>
<Dependency>libogg</Dependency>
<Dependency>libsdl</Dependency>
<Dependency>sdl-image</Dependency>
<Dependency>libvorbis</Dependency>
<Dependency>libtheora</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<AdditionalFiles>
<AdditionalFile target="/usr/share/pixmaps/zaz.png" permission="0644" owner="root">zaz.png</AdditionalFile>
</AdditionalFiles>
<Files>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/zaz</Path>
<Path fileType="data">/usr/share/pixmaps</Path>
<Path fileType="data">/usr/share/applications</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2010-12-06</Date>
<Version>1.0.0</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>zaz</Name>
<Summary xml:lang="tr">Luxor ve Zuma benzeri bir oyun</Summary>
<Description xml:lang="tr">Oyuncunun, ekrandaki topları üçerli gruplar haline getirerek yok ettiği bir oyun.</Description>
</Source>
</PISI>