commit:     f40942c834179eb5c310b1be9029e2b88177ad9c
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri Feb  7 20:04:23 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Fri Feb  7 20:08:25 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=f40942c8

games-action/zlock: remove package

Sources unavailable, deprecated
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>

 games-action/zlock/files/zlock-0.20-fixes.diff    | 162 -----------------
 games-action/zlock/files/zlock-0.20-homedir.diff  |  87 ---------
 games-action/zlock/files/zlock-0.20-imports.diff  | 209 ----------------------
 games-action/zlock/files/zlock-0.20-makefile.diff |  29 ---
 games-action/zlock/metadata.xml                   |   8 -
 games-action/zlock/zlock-0.20.ebuild              |  59 ------
 6 files changed, 554 deletions(-)

diff --git a/games-action/zlock/files/zlock-0.20-fixes.diff 
b/games-action/zlock/files/zlock-0.20-fixes.diff
deleted file mode 100644
index 8db06ff..0000000
--- a/games-action/zlock/files/zlock-0.20-fixes.diff
+++ /dev/null
@@ -1,162 +0,0 @@
-diff -Naur z-lock/src/bulletcommand.d z-lock-gentoo/src/bulletcommand.d
---- z-lock/src/bulletcommand.d 2006-09-08 19:28:18.000000000 +0200
-+++ z-lock-gentoo/src/bulletcommand.d  2007-10-10 19:40:03.000000000 +0200
-@@ -36,7 +36,7 @@
- 
-       buf.length = 256;
-       buf = fname ~ "\0";
--      parser[bank] = BulletMLParserTinyXML_new(buf);
-+      parser[bank] = BulletMLParserTinyXML_new(buf.ptr);
-       if(parser[bank]) BulletMLParserTinyXML_parse(parser[bank]);
-       buf.length = 0;
- }
-@@ -170,7 +170,8 @@
-               if(eid != -1){
-                       TskBuf[eid].parent = BulletCommand.now.id;
-                       d = (d <= 180.0f ? d : -(360.0f - d));
--                      d = d / ROTVAL;
-+                      d = d / ROTVAL;
-+                      TskBuf[eid].roll = 0;
-                       TskBuf[eid].bullet_speed = s;
-                       TskBuf[eid].bullet_direction = d;
-                       TskBuf[eid].bullet_velx = (sin(d) * (-s * 
VEL_SDM_SS_RATIO));
-diff -Naur z-lock/src/luminous.d z-lock-gentoo/src/luminous.d
---- z-lock/src/luminous.d      2006-09-07 18:13:08.000000000 +0200
-+++ z-lock-gentoo/src/luminous.d       2007-10-10 19:40:44.000000000 +0200
-@@ -7,7 +7,7 @@
- */
- 
- private       import std.math;
--private       import std.string;
-+private       import std.c.string;
- private       import opengl;
- private       import util_sdl;
- private       import task;
-@@ -68,11 +68,11 @@
- 
- static void makeLuminousTexture()
- {
--      uint *data = td;
-+      uint *data = td.ptr;
-       int i;
- 
-       td[0..length] = 0;
--      //memset(data, 0, luminousTextureWidth * luminousTextureHeight * 4 * 
uint.sizeof);
-+      memset(data, 0, luminousTextureWidth * luminousTextureHeight * 4 * 
uint.sizeof);
-       glGenTextures(1, &luminousTexture);
-       glBindTexture(GL_TEXTURE_2D, luminousTexture);
-       glTexImage2D(GL_TEXTURE_2D, 0, 4, luminousTextureWidth, 
luminousTextureHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, data);
-diff -Naur z-lock/src/main.d z-lock-gentoo/src/main.d
---- z-lock/src/main.d  2005-12-03 14:53:36.000000000 +0100
-+++ z-lock-gentoo/src/main.d   2007-09-26 20:22:34.000000000 +0200
-@@ -6,13 +6,12 @@
-       2003/11/28 jumpei isshiki
- */
- 
--private       import  std.c.windows.windows;
-+//private     import  std.c.windows.windows;
- private       import  std.stdio;
- private       import  std.string;
- private       import  std.random;
- private       import  SDL;
- private       import  opengl;
--private       import  reflection;
- private       import  util_sdl;
- private       import  util_glbf;
- private       import  util_pad;
-@@ -64,8 +63,8 @@
-                               str_buf[i] = lpCmdLine[i];
-                       }
-                       split_buf = split(str_buf);
--                      if(split_buf[0].length > 1) 
Reflection.init(split_buf[0]);
--                      else                                            
Reflection.init("main.exe");
-+//                    if(split_buf[0].length > 1) 
Reflection.init(split_buf[0]);
-+//                    else                                            
Reflection.init("main.exe");
-               }
- 
-               try{
-@@ -83,7 +82,7 @@
- }else{
-       int main(char[][] argv)
-       {
--              Reflection.init(argv[argv.length-1]);
-+//            Reflection.init(argv[argv.length-1]);
-               return boot();
-       }
- }
-@@ -154,7 +153,7 @@
-       setTSK(GROUP_00,&TSKgctrl);
- 
-       while(game_exec){
--              SDL_PollEvent(&event);
-+              SDL_PollEvent (&event);
-               getPAD();
-               if((game_exec == 1 && (trgs & PAD_BUTTON9)) || event.type == 
SDL_QUIT){
-                       game_exec = 0;
-@@ -238,7 +237,7 @@
- {
-       int     prev;
- 
--      ship_level = 0.0f;
-+//    ship_level = 0.0f;
- 
-       if(TskBuf[ship_id].tskid != 0 && TskBuf[ship_id].fp_int) 
collision_sub2(ship_id, GROUP_02);
-       if(TskBuf[ship_id].tskid != 0 && TskBuf[ship_id].fp_int) 
collision_sub3(ship_id, GROUP_06);
-diff -Naur z-lock/src/task.d z-lock-gentoo/src/task.d
---- z-lock/src/task.d  2006-09-08 19:11:52.000000000 +0200
-+++ z-lock-gentoo/src/task.d   2007-10-10 19:42:09.000000000 +0200
-@@ -135,7 +135,8 @@
-       GROUP_06,
-       GROUP_07,
-       GROUP_08,
--      GROUP_MAX,
-+      GROUP_MAX,
-+      GROUP_SSHOT = GROUP_03,
- 
- }
- 
-@@ -184,7 +185,9 @@
-               TskBuf[i].fp_exit = null;
-               TskBuf[i].image = null;
-               TskBuf[i].bullet_command = null;
--              TskBuf[i].bullet_state = null;
-+              TskBuf[i].bullet_state = null;
-+              TskBuf[i].bullet_accx = 0;
-+              TskBuf[i].bullet_accy = 0;
-       }
-       TskBuf[i].tskid = TSKID_NONE;
-       TskBuf[i].entry = -1;
-diff -Naur z-lock/src/title.d z-lock-gentoo/src/title.d
---- z-lock/src/title.d 2006-09-08 18:53:36.000000000 +0200
-+++ z-lock-gentoo/src/title.d  2007-09-07 13:00:04.000000000 +0200
-@@ -510,7 +510,8 @@
-                       str_buf.length = 0;
-                       clrTSK(id);
-                       break;
--      }
-+      }
-+      return;
- }
- 
- void TSKtitleDraw(int id)
-diff -Naur z-lock/src/util_snd.d z-lock-gentoo/src/util_snd.d
---- z-lock/src/util_snd.d      2005-08-24 17:11:26.000000000 +0200
-+++ z-lock-gentoo/src/util_snd.d       2007-10-10 19:43:24.000000000 +0200
-@@ -99,7 +99,7 @@
- 
-       char[] fileName = name ~ "\0";
- 
--      music[ch] = Mix_LoadMUS(fileName);
-+      music[ch] = Mix_LoadMUS(fileName.ptr);
-       if(!music[ch]){
-               sound_use = false;
-       }else{
-@@ -118,7 +118,7 @@
- 
-       char[] fileName = name ~ "\0";
- 
--      chunk[bank] = Mix_LoadWAV(fileName);
-+      chunk[bank] = Mix_LoadWAV(fileName.ptr);
-       if(!chunk[bank]){
-               sound_use = false;
-       }

diff --git a/games-action/zlock/files/zlock-0.20-homedir.diff 
b/games-action/zlock/files/zlock-0.20-homedir.diff
deleted file mode 100644
index c6d084d..0000000
--- a/games-action/zlock/files/zlock-0.20-homedir.diff
+++ /dev/null
@@ -1,87 +0,0 @@
-diff -Naur z-lock/src/init.d z-lock-p/src/init.d
---- z-lock/src/init.d  2006-09-07 18:32:10.000000000 +0200
-+++ z-lock-p/src/init.d        2009-08-28 13:25:55.000000000 +0200
-@@ -5,7 +5,8 @@
- 
-       2003/12/01 jumpei isshiki
- */
--
-+private import  std.c.stdlib;
-+private import  std.string;
- private       import  std.stdio;
- private       import  std.stream;
- private       import  std.file;
-@@ -16,6 +17,18 @@
- private       import  define;
- private       import  gctrl;
- 
-+public static char[] pref_dir() {
-+  char * home = getenv("HOME");
-+  if (home is null)
-+    throw new Error("HOME environment variable undefined");
-+  char[] dir = std.string.toString(home) ~ "/.zlock";
-+  try {
-+    mkdir(dir);
-+  } catch (FileException e) {
-+  }
-+  return dir;
-+}
-+
- void  grpINIT()
- {
-       readSDLtexture("title.bmp", GRP_TITLE);
-@@ -80,9 +93,9 @@
-       reptime_mode = 0;
- 
-       auto File fd = new File;
--      if(exists("config.dat")){
-+      if(exists(pref_dir() ~ "/" ~ "config.dat")){
-               initialized = 0;
--              fd.open("config.dat");
-+              fd.open(pref_dir() ~ "/" ~ "config.dat");
-               fd.read(game_ver);
-               fd.read(game_level);
-               fd.read(vol_se);
-@@ -96,7 +109,7 @@
-               if(game_ver != GAME_NOWVER) game_ver = GAME_NOWVER;
-       }else{
-               initialized = 1;
--              fd.create("config.dat");
-+              fd.create(pref_dir() ~ "/" ~ "config.dat");
-               fd.write(game_ver);
-               fd.write(game_level);
-               fd.write(vol_se);
-@@ -137,22 +150,22 @@
- 
-       int[] score_tmp;
- 
--      if(exists("score.dat")){
--              score_tmp = cast(int[])read("score.dat");
-+      if(exists(pref_dir() ~ "/" ~ "score.dat")){
-+              score_tmp = cast(int[])read(pref_dir() ~ "/" ~ "score.dat");
-               for(int i = 0; i < high_score.length; i++){
-                       for(int j = 0; j < high_score[i].length; j++){
-                               high_score[i][j] = 
score_tmp[i*high_score[i].length+j];
-                       }
-               }
-       }else{
--              write("score.dat", cast(void[])high_score);
-+              write(pref_dir() ~ "/" ~ "score.dat", cast(void[])high_score);
-       }
- }
- 
- void configSAVE()
- {
-       auto File fd = new File;
--      fd.create("config.dat");
-+      fd.create(pref_dir() ~ "/" ~ "config.dat");
-       fd.write(game_ver);
-       fd.write(game_level);
-       fd.write(vol_se);
-@@ -167,5 +180,5 @@
- 
- void scoreSAVE()
- {
--      write("score.dat", cast(void[])high_score);
-+      write(pref_dir() ~ "/" ~ "score.dat", cast(void[])high_score);
- }

diff --git a/games-action/zlock/files/zlock-0.20-imports.diff 
b/games-action/zlock/files/zlock-0.20-imports.diff
deleted file mode 100644
index 1db3bd2..0000000
--- a/games-action/zlock/files/zlock-0.20-imports.diff
+++ /dev/null
@@ -1,209 +0,0 @@
-diff -Naur z-lock/import/opengl.d z-lock-p/import/opengl.d
---- z-lock/import/opengl.d     2004-01-09 10:52:04.000000000 +0100
-+++ z-lock-p/import/opengl.d   2009-08-28 13:30:51.000000000 +0200
-@@ -1,10 +1,4 @@
--version (Win32) {
--      private import std.c.windows.windows;
--      extern(Windows):
--}
--version (linux) {
-       extern(C):
--}
- 
- alias uint GLenum;
- alias ubyte GLboolean;
-@@ -1116,7 +1110,7 @@
- /*************************************************************/
- 
- void /*APIENTRY*/glAccum (GLenum op, GLfloat value);
--void /*APIENTRY*/glAlphaFunc (GLenum func, GLclampf ref);
-+void /*APIENTRY*/glAlphaFunc (GLenum func, GLclampf);
- GLboolean /*APIENTRY*/glAreTexturesResident (GLsizei n, GLuint *textures, 
GLboolean *residences);
- void /*APIENTRY*/glArrayElement (GLint i);
- void /*APIENTRY*/glBegin (GLenum mode);
-@@ -1369,7 +1363,7 @@
- void /*APIENTRY*/glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
- void /*APIENTRY*/glSelectBuffer (GLsizei size, GLuint *buffer);
- void /*APIENTRY*/glShadeModel (GLenum mode);
--void /*APIENTRY*/glStencilFunc (GLenum func, GLint ref, GLuint mask);
-+void /*APIENTRY*/glStencilFunc (GLenum func, GLint, GLuint mask);
- void /*APIENTRY*/glStencilMask (GLuint mask);
- void /*APIENTRY*/glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
- void /*APIENTRY*/glTexCoord1d (GLdouble s);
-diff -Naur z-lock/import/openglu.d z-lock-p/import/openglu.d
---- z-lock/import/openglu.d    2003-12-04 04:15:26.000000000 +0100
-+++ z-lock-p/import/openglu.d  2009-08-28 13:30:51.000000000 +0200
-@@ -1,11 +1,6 @@
- import opengl;
- 
--version (Win32) {
--      extern(Windows):
--}
--version (linux) {
-       extern(C):
--}
- 
- GLubyte* gluErrorString (
-     GLenum   errCode);
-diff -Naur z-lock/import/SDL.d z-lock-p/import/SDL.d
---- z-lock/import/SDL.d        2004-05-08 14:14:14.000000000 +0200
-+++ z-lock-p/import/SDL.d      2009-08-28 13:30:51.000000000 +0200
-@@ -20,73 +20,76 @@
-     slou...@devolution.com
- */
- 
--import SDL_types;
--import SDL_getenv;
--import SDL_error;
--import SDL_rwops;
--import SDL_timer;
--import SDL_audio;
--import SDL_cdrom;
--import SDL_joystick;
--import SDL_events;
--import SDL_video;
--import SDL_byteorder;
--import SDL_Version;
--
--extern(C):
--
--/* As of version 0.5, SDL is loaded dynamically into the application */
--
--/* These are the flags which may be passed to SDL_Init() -- you should
--   specify the subsystems which you will be using in your application.
--*/
--const uint SDL_INIT_TIMER             = 0x00000001;
--const uint SDL_INIT_AUDIO             = 0x00000010;
--const uint SDL_INIT_VIDEO             = 0x00000020;
--const uint SDL_INIT_CDROM             = 0x00000100;
--const uint SDL_INIT_JOYSTICK  = 0x00000200;
--const uint SDL_INIT_NOPARACHUTE       = 0x00100000;   /* Don't catch fatal 
signals */
--const uint SDL_INIT_EVENTTHREAD       = 0x01000000;   /* Not supported on all 
OS's */
--const uint SDL_INIT_EVERYTHING        = 0x0000FFFF;
--
--/* This function loads the SDL dynamically linked library and initializes 
-- * the subsystems specified by 'flags' (and those satisfying dependencies)
-- * Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup
-- * signal handlers for some commonly ignored fatal signals (like SIGSEGV)
-- */
--int SDL_Init(Uint32 flags);
--
--/* This function initializes specific SDL subsystems */
--int SDL_InitSubSystem(Uint32 flags);
--
--/* This function cleans up specific SDL subsystems */
--void SDL_QuitSubSystem(Uint32 flags);
--
--/* This function returns mask of the specified subsystems which have
--   been initialized.
--   If 'flags' is 0, it returns a mask of all initialized subsystems.
--*/
--Uint32 SDL_WasInit(Uint32 flags);
--
--/* This function cleans up all initialized subsystems and unloads the
-- * dynamically linked library.  You should call it upon all exit conditions.
-- */
--void SDL_Quit();
--
--void SDL_SetModuleHandle(void *hInst);
--//extern(Windows) void* GetModuleHandle(char*);
--extern(Windows) void* GetModuleHandleA(char*);
--
--static this()
--{
--      /* Load SDL dynamic link library */
--      if (SDL_Init(SDL_INIT_NOPARACHUTE) < 0)
--              throw new Error("Error loading SDL");
--//    SDL_SetModuleHandle(GetModuleHandle(null));
--      SDL_SetModuleHandle(GetModuleHandleA(null));
--}
--
--static ~this()
--{
--      SDL_Quit();
--}
-+public import SDL_types;
-+public import SDL_getenv;
-+public import SDL_error;
-+public import SDL_rwops;
-+public import SDL_timer;
-+public import SDL_audio;
-+public import SDL_cdrom;
-+public import SDL_joystick;
-+public import SDL_events;
-+public import SDL_video;
-+public import SDL_byteorder;
-+public import SDL_Version;
-+public import SDL_Keysym;
-+public import SDL_keyboard;
-+public import SDL_mouse;
-+
-+extern(C):
-+
-+/* As of version 0.5, SDL is loaded dynamically into the application */
-+
-+/* These are the flags which may be passed to SDL_Init() -- you should
-+   specify the subsystems which you will be using in your application.
-+*/
-+const uint SDL_INIT_TIMER             = 0x00000001;
-+const uint SDL_INIT_AUDIO             = 0x00000010;
-+const uint SDL_INIT_VIDEO             = 0x00000020;
-+const uint SDL_INIT_CDROM             = 0x00000100;
-+const uint SDL_INIT_JOYSTICK  = 0x00000200;
-+const uint SDL_INIT_NOPARACHUTE       = 0x00100000;   /* Don't catch fatal 
signals */
-+const uint SDL_INIT_EVENTTHREAD       = 0x01000000;   /* Not supported on all 
OS's */
-+const uint SDL_INIT_EVERYTHING        = 0x0000FFFF;
-+
-+/* This function loads the SDL dynamically linked library and initializes 
-+ * the subsystems specified by 'flags' (and those satisfying dependencies)
-+ * Unless the SDL_INIT_NOPARACHUTE flag is set, it will install cleanup
-+ * signal handlers for some commonly ignored fatal signals (like SIGSEGV)
-+ */
-+int SDL_Init(Uint32 flags);
-+
-+/* This function initializes specific SDL subsystems */
-+int SDL_InitSubSystem(Uint32 flags);
-+
-+/* This function cleans up specific SDL subsystems */
-+void SDL_QuitSubSystem(Uint32 flags);
-+
-+/* This function returns mask of the specified subsystems which have
-+   been initialized.
-+   If 'flags' is 0, it returns a mask of all initialized subsystems.
-+*/
-+Uint32 SDL_WasInit(Uint32 flags);
-+
-+/* This function cleans up all initialized subsystems and unloads the
-+ * dynamically linked library.  You should call it upon all exit conditions.
-+ */
-+void SDL_Quit();
-+
-+/+
-+void SDL_SetModuleHandle(void *hInst);
-+extern(Windows) void* GetModuleHandle(char*);
-+
-+static this()
-+{
-+      /* Load SDL dynamic link library */
-+      if (SDL_Init(SDL_INIT_NOPARACHUTE) < 0)
-+              throw new Error("Error loading SDL");
-+      SDL_SetModuleHandle(GetModuleHandle(null));
-+}
-+
-+static ~this()
-+{
-+      SDL_Quit();
-+}
-++/
-diff -Naur z-lock/import/SDL_events.d z-lock-p/import/SDL_events.d
---- z-lock/import/SDL_events.d 2004-12-02 15:48:16.000000000 +0100
-+++ z-lock-p/import/SDL_events.d       2009-08-28 13:30:51.000000000 +0200
-@@ -304,7 +304,7 @@
-   If 'state' is set to SDL_QUERY, SDL_EventState() will return the 
-   current processing state of the specified event.
- */
--const int SDL_QUERY   = -1;
-+const uint SDL_QUERY  = -1;
- const uint SDL_IGNORE = 0;
- const uint SDL_DISABLE        = 0;
- const uint SDL_ENABLE = 1;

diff --git a/games-action/zlock/files/zlock-0.20-makefile.diff 
b/games-action/zlock/files/zlock-0.20-makefile.diff
deleted file mode 100644
index df45261..0000000
--- a/games-action/zlock/files/zlock-0.20-makefile.diff
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -Naur Makefile Makefile
---- Makefile   1970-01-01 01:00:00.000000000 +0100
-+++ Makefile   2007-08-04 18:21:16.000000000 +0200
-@@ -0,0 +1,25 @@
-+DC=gdmd
-+#DC=gdc
-+ifeq ($(DC), gdmd)
-+DFLAGS=-g -debug -O -d -release -Iimport -Isrc
-+#DFLAGS=-g -debug -Iimport -Isrc
-+DOUT=-of
-+else
-+DFLAGS=-O -frelease -Iimport -Isrc
-+#DFLAGS=-g -fdebug -Iimport -Isrc
-+DOUT=-o
-+endif
-+
-+DSRC=$(shell find src/ -name "*.d")
-+SOURCES=$(DSRC) import/SDL_video.d import/SDL_mixer.d
-+OBJS=$(SOURCES:.d=.o)
-+EXE=zlock
-+
-+all: $(EXE)
-+
-+$(EXE): $(OBJS)
-+      gcc -o $@ $(OBJS) -lbulletml -lgphobos -lpthread -lm -lSDL -lGL -lGLU 
-lSDL_mixer
-+
-+$(OBJS): %.o: %.d
-+      gdmd -d -c -of$@ $(DFLAGS) $<
-+

diff --git a/games-action/zlock/metadata.xml b/games-action/zlock/metadata.xml
deleted file mode 100644
index 5d0ede2..0000000
--- a/games-action/zlock/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-<maintainer>
-       <email>frostwo...@gmx.de</email>
-       <name>Marcel Unbehaun</name>
-</maintainer>
-</pkgmetadata>

diff --git a/games-action/zlock/zlock-0.20.ebuild 
b/games-action/zlock/zlock-0.20.ebuild
deleted file mode 100644
index 00c9c7a..0000000
--- a/games-action/zlock/zlock-0.20.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit d-games
-
-MY_PN=z-lock
-MY_PV=${PV//./_}
-
-DESCRIPTION="jumpei isshiki's HelloWorldProject (2006/09/09) "
-HOMEPAGE="http://homepage2.nifty.com/isshiki/prog_win_d.html";
-SRC_URI="http://homepage2.nifty.com/isshiki/${MY_PN}.zip";
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~ppc ~x86"
-IUSE=""
-
-RDEPEND="media-libs/libsdl
-       media-libs/mesa
-       media-libs/sdl-mixer
-       dev-libs/libbulletml"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_PN}
-
-src_prepare(){
-       epatch "${FILESDIR}"/${P}-fixes.diff
-       epatch "${FILESDIR}"/${P}-homedir.diff
-       epatch "${FILESDIR}"/${P}-imports.diff
-       epatch "${FILESDIR}"/${P}-makefile.diff
-       mv src/reflection.d src/reflection.d-OFF
-       mv import/SDL_keysym.d import/SDL_Keysym.d
-       mv import/SDL_version.d import/SDL_Version.d
-       sed -i \
-       -e 's:"\(title.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i 
src/init.d \
-       -e 's:"\(next.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i 
src/init.d \
-       -e 's:"\(gameover.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i 
src/init.d \
-       -e 's:"\(edificio.bmp[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i 
src/main.d \
-       -e 's:"\(se_[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d \
-       -e 's:"\(voice_[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i 
src/init.d \
-       -e 's:"\(zlock[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i src/init.d 
\
-       -e 's:"\(bullet[^"]*\)":"'${GAMES_DATADIR}'/'${PN}'/\1":g' -i 
src/init.d \
-               || die "sed failed"
-}
-
-src_install() {
-       dobin ${PN} || die "dobin failed"
-
-       local datadir="${GAMES_DATADIR}"/${PN}
-
-       dodir ${datadir}
-       insinto "${GAMES_DATADIR}"/${PN}
-       doins -r *.xml *.bmp *.ogg *.wav || die
-       make_desktop_entry ${PN} ${PN}
-       dodoc readme*
-}

Reply via email to