Ah, I see a makefile and a "clean:" line in it are absolutely necessary. I have it working now however, when I try to upload a small multi-platform RPG maker (which I didn't help develop, but have been part of the community for a long long time) on my ppa I encountered some problems:
* Permission. I can't run the program without using sudo.. well the program DOES run, but gives off errors whenever I want to add delete a sprite/map/game file.
* The excutable doesn't work as I do not know how to use the makefile in order to run and install python files. Below is what's in the iked.py right now (it should simply another iked.py file)
Code:
print "python /usr/share/ika/iked/iked.py"
* the menu icon shows up in 'Others' and not in 'Games'
* ln -s $(SHAREDIR)/iked.png $(PIXMAPSDIR)/iked.png makes the link go to debian/ika/usr/share/ika/ika.png and not /usr/share/ika/ika.png
ika.menu
Code:
?package(iked):needs="ika" section="Games/Board"\
icon="iked.png"\
title="Iked" command="python /usr/share/iked/iked.py"
makefile
Code:
MDIR = iked/app
LDIR = linux
PREFIX=debian/iked/usr
BINDIR=$(PREFIX)/games
SHAREDIR=$(PREFIX)/share/ika
MENUDIR=$(PREFIX)/share/menu
APPDIR=$(PREFIX)/share/applications
PIXMAPSDIR=$(PREFIX)/share/pixmaps
IKEDDIR=$(SHAREDIR)/iked
.PHONY : clean install iked
iked: iked.py
python iked.py > $(LDIR)/iked
install: $(LDIR)/iked
mkdir -p $(BINDIR)
mkdir -p $(SHAREDIR)
mkdir -p $(IKEDDIR)
mkdir -p $(PIXMAPSDIR)
mkdir -p $(MENUDIR)
mkdir -p $(APPDIR)
install $(LDIR)/iked $(BINDIR)/iked
cp -rf $(MDIR)/* $(IKEDDIR)
cp $(LDIR)/iked.png $(SHAREDIR)/iked.png
cp $(LDIR)/iked.menu $(MENUDIR)/iked
cp $(LDIR)/iked.desktop $(APPDIR)/iked.desktop
ln -s $(SHAREDIR)/iked.png $(PIXMAPSDIR)/iked.png
clean:
rm -f $(LDIR)/iked
Bookmarks