jbs1136 wrote:extremetuxracer.desktop added. (I thought I had it before)
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:
Shador wrote:
- Code: Select all
source=("http://downloads.sourceforge.net/extremetuxracer/extremetuxracer-0.4.tar.gz" "http://people.salixos.org/jbs1136/extremetuxracer.desktop")
and
- Code: Select all
cp $startdir/src/extremetuxracer.desktop $startdir/pkg/usr/share/applications/
This is what the man page says about the source array (array = similar to a list):
- 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.
jbs1136 wrote:stripped the "_" from the icons. This is the way the source came and I didn't change it before. I have now.
Not quite yet. The icon file name especially shouldn't anymore contain references to its size.
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;
The extremetuxracer.desktop file should only say:
- Code: Select all
Icon=extremetuxracer
I also changed the file name from "etracericon" to "extremtuxracer" as it's usually nice to have the icon name match the softname, unless not possible.
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

