diff options
Diffstat (limited to 'games/SpaceZero/SpaceZero.SlackBuild')
-rw-r--r-- | games/SpaceZero/SpaceZero.SlackBuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/games/SpaceZero/SpaceZero.SlackBuild b/games/SpaceZero/SpaceZero.SlackBuild index 9b1f34a8d2066..5304b78f9bc86 100644 --- a/games/SpaceZero/SpaceZero.SlackBuild +++ b/games/SpaceZero/SpaceZero.SlackBuild @@ -22,6 +22,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220231 bkw: Modified by SlackBuilds.org, BUILD=2: +# - strip the binary. +# - binary in /usr/games. +# - absolute paths in .desktop +# - install the PNG icon as spacezero.png (why was it .svg?) + # 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0. cd $(dirname $0) ; CWD=$(pwd) @@ -29,7 +35,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=SpaceZero SRCNAM=spacezero VERSION=${VERSION:-0.86.00} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -89,18 +95,18 @@ make find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/bin \ +mkdir -p $PKG/usr/games \ $PKG/usr/share/games/$PRGNAM/{locales,sounds} install -D -m0644 dat/locales/* $PKG/usr/share/games/$PRGNAM/locales install -D -m0644 dat/sounds/* $PKG/usr/share/games/$PRGNAM/sounds -install -D -m0755 bin/$SRCNAM $PKG/usr/bin/$SRCNAM +install -s -D -m0755 bin/$SRCNAM $PKG/usr/games/$SRCNAM mkdir -p $PKG/usr/share/applications install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/share/pixmaps/ -install -D -m644 $CWD/$SRCNAM.png $PKG/usr/share/pixmaps/$SRCNAM.svg +install -D -m644 $CWD/$SRCNAM.png $PKG/usr/share/pixmaps/$SRCNAM.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a html/* $PKG/usr/doc/$PRGNAM-$VERSION |