From a60998346fa64a56f9207b2ff6eea59035a184c1 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 12 Aug 2019 22:19:09 +0800 Subject: [PATCH] games-strategy/openra: bump to 20190314 --- ...a-20180307.exheres-0 => openra-20190314.exheres-0} | 0 packages/games-strategy/openra/openra-build.exlib | 11 +++++------ 2 files changed, 5 insertions(+), 6 deletions(-) rename packages/games-strategy/openra/{openra-20180307.exheres-0 => openra-20190314.exheres-0} (100%) diff --git a/packages/games-strategy/openra/openra-20180307.exheres-0 b/packages/games-strategy/openra/openra-20190314.exheres-0 similarity index 100% rename from packages/games-strategy/openra/openra-20180307.exheres-0 rename to packages/games-strategy/openra/openra-20190314.exheres-0 diff --git a/packages/games-strategy/openra/openra-build.exlib b/packages/games-strategy/openra/openra-build.exlib index c0e6c6aa..c750b180 100644 --- a/packages/games-strategy/openra/openra-build.exlib +++ b/packages/games-strategy/openra/openra-build.exlib @@ -43,9 +43,6 @@ MV_FILES=( /usr/share/applications/openra-cnc.desktop /usr/share/applications/openra-ra.desktop /usr/share/applications/openra-d2k.desktop - /usr/share/applications/openra-cnc-join-servers.desktop - /usr/share/applications/openra-ra-join-servers.desktop - /usr/share/applications/openra-d2k-join-servers.desktop /usr/share/icons/hicolor/128x128/apps/openra-cnc.png /usr/share/icons/hicolor/16x16/apps/openra-cnc.png @@ -73,7 +70,7 @@ openra-build_src_unpack() { edo cd "${WORK}"/thirdparty edo sed -i \ - -e 's|curl .*$|: |' \ + -e 's|^[[:space:]]+curl .*$|: |' \ fetch-thirdparty-deps.sh cat < noget.sh @@ -141,7 +138,7 @@ openra-build_src_install() { local i for i in /usr/$(exhost --target)/bin/openra-{ra,cnc,d2k} \ /usr/$(exhost --target)/bin/openra-{ra,cnc,d2k}-server \ - /usr/share/mime/packages/openra.xml \ + /usr/share/mime/packages/openra-{ra,cnc,d2k}.xml \ /usr/share/appdata/openra-{ra,cnc,d2k}.appdata.xml do edo mv "${IMAGE%/}"${i} "${IMAGE%/}"${i}-${SLOT} @@ -163,7 +160,9 @@ openra-build_src_install() { /usr/share/appdata/openra-cnc.appdata.xml{,-${SLOT}} \ /usr/share/appdata/openra-ra.appdata.xml{,-${SLOT}} \ /usr/share/appdata/openra-d2k.appdata.xml{,-${SLOT}} \ - /usr/share/mime/packages/openra.xml{,-${SLOT}} + /usr/share/mime/packages/openra-cnc.xml{,-${SLOT}} \ + /usr/share/mime/packages/openra-ra.xml{,-${SLOT}} \ + /usr/share/mime/packages/openra-d2k.xml{,-${SLOT}} } openra-build_pkg_postinst() {