You had. I just asked you to add it to source array, because it's a source like extremetuxracer-0.4.tar.gz. The following changes would be needed:jbs1136 wrote:extremetuxracer.desktop added. (I thought I had it before )
andShador wrote:Code: Select all
source=("http://downloads.sourceforge.net/extremetuxracer/extremetuxracer-0.4.tar.gz" "http://people.salixos.org/jbs1136/extremetuxracer.desktop")
Code: Select all
cp $startdir/src/extremetuxracer.desktop $startdir/pkg/usr/share/applications/
Code: Select all
source This is an array for the source files needed to complete the
build. This can be anything from a url to a tarball to a local
personally created patch or .desktop file. If you have more than
one, just put each one in quotes and make sure there is a space
between them and make sure they are inside the parentheses. E.g.
source=("http://url.tar.gz" "gcc.path" "thing.desktop"). For
cvs, svn and git builds, this variable is not technically neces‐
sary, you can leave it empty and fetch the svn or cvs source in
build(). Or you can create a source tarball from cvs, svn or git
and use that in the source array.
Not quite yet. The icon file name especially shouldn't anymore contain references to its size.jbs1136 wrote:stripped the "_" from the icons. This is the way the source came and I didn't change it before. I have now.
For the SLKBUILD this means:
Code: Select all
cp $startdir/src/extremetuxracer-0.4/etracericons/etracericon_$i.png $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps/extremetuxracer.png;
Code: Select all
Icon=extremetuxracer
You should also create a dep (dependencies) file. Usually you should be able to sufficiently pick them up using depfinder. E.g.:
Code: Select all
depfinder -fpj2 extremetuxracer-0.4-x86_64-1jbs.txz