summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Boman2020-09-10 20:48:50 +0200
committerMagnus Boman2020-09-10 20:48:50 +0200
commit5afed72e14fcf41f1d308e96a543ad22157b8c6b (patch)
tree57f2b107d86375a9f1e02a232dccff2192cb6f55
parentd944d335c8f2c67fd664cbc9e0bcc8fac532dede (diff)
downloadaur-5afed72e14fcf41f1d308e96a543ad22157b8c6b.tar.gz
gog-beneath-a-steel-sky: give up on .desktop file
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
-rwxr-xr-xbeneath-a-steel-sky.desktop10
3 files changed, 12 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3ec2fd2a955f..a50e77865c8d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gog-beneath-a-steel-sky
pkgdesc = All man's social problems are coming to a boil. Under the claustrophobic lid of a steel sky.
pkgver = 0.0372
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = https://www.gog.com/game/beneath_a_steel_sky
arch = any
@@ -9,10 +9,8 @@ pkgbase = gog-beneath-a-steel-sky
depends = scummvm
source = local://beneath_a_steel_sky_en_gog_2_20150.sh
source = beneath-a-steel-sky
- source = beneath-a-steel-sky.desktop
sha256sums = d30476a34bb4bd99c68d130780c9e2db9727c157b8123f13447ed755724efdc5
sha256sums = 606428aa493cf3162c54db7b79c6deb9c0825aee398cf24255c5b09002262dc2
- sha256sums = d64316b378591d366abc4b28ab8caf7f892e0d11f59b07c4c6e7c0801486c413
pkgname = gog-beneath-a-steel-sky
diff --git a/PKGBUILD b/PKGBUILD
index 566c2f440a56..742c87753ef3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,18 +5,16 @@
pkgname=gog-beneath-a-steel-sky
pkgver=0.0372
epoch=1
-pkgrel=1
+pkgrel=2
pkgdesc='All man'\''s social problems are coming to a boil. Under the claustrophobic lid of a steel sky.'
arch=(any)
url=https://www.gog.com/game/beneath_a_steel_sky
license=(custom:commercial)
depends=(scummvm)
source=(local://beneath_a_steel_sky_en_gog_2_20150.sh
- "${pkgname#gog-}"
- "${pkgname#gog-}.desktop")
+ "${pkgname#gog-}")
sha256sums=('d30476a34bb4bd99c68d130780c9e2db9727c157b8123f13447ed755724efdc5'
- '606428aa493cf3162c54db7b79c6deb9c0825aee398cf24255c5b09002262dc2'
- 'd64316b378591d366abc4b28ab8caf7f892e0d11f59b07c4c6e7c0801486c413')
+ '606428aa493cf3162c54db7b79c6deb9c0825aee398cf24255c5b09002262dc2')
prepare() {
sed -i data/noarch/beneath.ini \
@@ -29,8 +27,10 @@ package() {
install -m644 data/noarch/beneath.ini "${pkgdir}/usr/share/${pkgname#gog-}/config.ini"
install -Dm755 -t "${pkgdir}/usr/bin" "${pkgname#gog-}"
- install -Dm644 -t "$pkgdir/usr/share/applications" "${pkgname#gog-}.desktop"
- install -Dm644 data/noarch/support/icon.png "${pkgdir}/usr/share/pixmaps/${pkgname#gog-}"
+# Launching via .desktop file just hangs, I give up.
+# install -Dm644 -t "$pkgdir/usr/share/applications" "${pkgname#gog-}.desktop"
+# install -Dm644 data/noarch/support/icon.png "${pkgdir}/usr/share/pixmaps/${pkgname#gog-}.png"
+
install -Dm644 -t "${pkgdir}/usr/share/doc/${pkgname#gog-}" data/noarch/docs/{manual.pdf,walkthrough.pdf} data/noarch/data/readme.txt
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "data/noarch/docs/End User License Agreement.txt"
}
diff --git a/beneath-a-steel-sky.desktop b/beneath-a-steel-sky.desktop
index 4e232fe434d3..bcd8dc7dad34 100755
--- a/beneath-a-steel-sky.desktop
+++ b/beneath-a-steel-sky.desktop
@@ -1,11 +1,9 @@
[Desktop Entry]
-Encoding=UTF-8
-Value=1.0
+Version=1.0
Type=Application
Name=Beneath A Steel Sky
-GenericName=Beneath A Steel Sky
-Comment=Beneath A Steel Sky
Icon=beneath-a-steel-sky
-Exec="scummvm -c config.ini" ""
+Comment=All man's social problems are coming to a boil. Under the claustrophobic lid of a steel sky.
+Exec=/usr/bin/beneath-a-steel-sky
+Terminal=true
Categories=Game;
-Path=/usr/share/beneath-a-steel-sky/