[crux-commits] ports/contrib (3.5): steam: fix symlink

crux at crux.nu crux at crux.nu
Sun Jun 7 10:25:25 UTC 2020


commit 96a549095e8b9952110c3d1fa03d95c8d70e5039
Author: Danny Rawlins <monster.romster at gmail.com>
Date:   Sun Jun 7 20:25:17 2020 +1000

    steam: fix symlink

diff --git a/steam/.footprint b/steam/.footprint
index 18f7dfdfc..60f11bc76 100644
--- a/steam/.footprint
+++ b/steam/.footprint
@@ -3,7 +3,6 @@ drwxr-xr-x	root/root	etc/ssl/
 drwxr-xr-x	root/root	etc/ssl/certs/
 drwxr-xr-x	root/root	usr/
 drwxr-xr-x	root/root	usr/bin/
-lrwxrwxrwx	root/root	usr/bin/steam -> /usr/bin/steam-runtime
 -rwxr-xr-x	root/root	usr/bin/steam-runtime
 lrwxrwxrwx	root/root	usr/bin/steamdeps -> /bin/true
 drwxr-xr-x	root/root	usr/lib/
@@ -11,6 +10,7 @@ drwxr-xr-x	root/root	usr/lib/steam/
 -rwxr-xr-x	root/root	usr/lib/steam/bin_steam.sh
 -rwxr-xr-x	root/root	usr/lib/steam/bin_steamdeps.py
 -rw-r--r--	root/root	usr/lib/steam/bootstraplinux_ubuntu12_32.tar.xz
+lrwxrwxrwx	root/root	usr/lib/steam/steam -> /usr/lib/steam/bin_steam.sh
 -rw-r--r--	root/root	usr/lib/steam/steam.desktop
 drwxr-xr-x	root/root	usr/lib/udev/
 drwxr-xr-x	root/root	usr/lib/udev/rules.d/
diff --git a/steam/.signature b/steam/.signature
index e581dd3f4..e33df5472 100644
--- a/steam/.signature
+++ b/steam/.signature
@@ -1,6 +1,6 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF32MhNyRgbZjfXz6nXsn+94W0WCuycWUavkAUGVQW2VqxRorMdiZscuscTEgroGlEsuMgeQjaflemWU1P4TWpowo=
-SHA256 (Pkgfile) = 3deadcd4a515d4f0a72c76a8787f67fde5ea016859a4c20b69ed40c356921f37
-SHA256 (.footprint) = ce5de42b80fff26175e6044ec722f7a06247a094b49f6fc06c29627023c0bba4
+RWSagIOpLGJF3yD2MyH1vPDT+pEg38Wsf4doqApPHo839LwnfGbsSvLt2YC2sPQfcbK01BzSXa417zoqH/JINa97vt3EMY9x0wM=
+SHA256 (Pkgfile) = 8d2b400ede8aaec41160ddffefe5f3ab09113d0efb65282e397b6d924e243a77
+SHA256 (.footprint) = a3ac4f5008d8736659f0a730a52a266c5bf283210a7cc08894ac727745a9db0e
 SHA256 (steam_1.0.0.62.tar.gz) = 83cbff7379b3ef8115e651fb1b627be5f9b38d0e8b405e8bcd91871df5f588df
 SHA256 (steam-runtime.sh) = 97ed274c291619063ea851efb68ade5a9f9eaba8724b96b0759767a811a0c770
diff --git a/steam/Pkgfile b/steam/Pkgfile
index 26af5537b..c9e07d0e1 100644
--- a/steam/Pkgfile
+++ b/steam/Pkgfile
@@ -6,7 +6,7 @@
 
 name=steam
 version=1.0.0.62
-release=1
+release=2
 source=(http://repo.steampowered.com/$name/pool/$name/s/$name/${name}_$version.tar.gz
 	steam-runtime.sh)
 
@@ -24,13 +24,8 @@ build() {
 
 	make DESTDIR=$PKG install
 
-	rm $PKG/usr/bin/steam
-	ln -sf /usr/bin/steam-runtime $PKG/usr/bin/steam
-
-	install -Dm 755 $SRC/steam-runtime.sh \
-                $PKG/usr/bin/steam-runtime
-
-	install -d $PKG/usr/lib/steam
+	mv $PKG/usr/bin/steam $PKG/usr/lib/steam/steam
+	install -Dm 755 $SRC/steam-runtime.sh $PKG/usr/bin/steam-runtime
 
 	# blank steamdeps because apt-get
 	ln -sf /bin/true $PKG/usr/bin/steamdeps


More information about the crux-commits mailing list