games-strategy/openra: bump to 20190314

This commit is contained in:
Julian Ospald 2019-08-12 22:19:09 +08:00
parent 712c6622d6
commit a60998346f
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
2 changed files with 5 additions and 6 deletions

View File

@ -43,9 +43,6 @@ MV_FILES=(
/usr/share/applications/openra-cnc.desktop /usr/share/applications/openra-cnc.desktop
/usr/share/applications/openra-ra.desktop /usr/share/applications/openra-ra.desktop
/usr/share/applications/openra-d2k.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/128x128/apps/openra-cnc.png
/usr/share/icons/hicolor/16x16/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 cd "${WORK}"/thirdparty
edo sed -i \ edo sed -i \
-e 's|curl .*$|: |' \ -e 's|^[[:space:]]+curl .*$|: |' \
fetch-thirdparty-deps.sh fetch-thirdparty-deps.sh
cat <<EOF > noget.sh cat <<EOF > noget.sh
@ -141,7 +138,7 @@ openra-build_src_install() {
local i local i
for i in /usr/$(exhost --target)/bin/openra-{ra,cnc,d2k} \ for i in /usr/$(exhost --target)/bin/openra-{ra,cnc,d2k} \
/usr/$(exhost --target)/bin/openra-{ra,cnc,d2k}-server \ /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 /usr/share/appdata/openra-{ra,cnc,d2k}.appdata.xml
do do
edo mv "${IMAGE%/}"${i} "${IMAGE%/}"${i}-${SLOT} 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-cnc.appdata.xml{,-${SLOT}} \
/usr/share/appdata/openra-ra.appdata.xml{,-${SLOT}} \ /usr/share/appdata/openra-ra.appdata.xml{,-${SLOT}} \
/usr/share/appdata/openra-d2k.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() { openra-build_pkg_postinst() {