From 6162222e6810a12e5eaaf7bc133dc8d97b3b90ed Mon Sep 17 00:00:00 2001 From: mid-kid Date: Tue, 30 Aug 2016 00:28:42 +0200 Subject: [PATCH] Adding steam --- satellites/steam.sat | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 satellites/steam.sat diff --git a/satellites/steam.sat b/satellites/steam.sat new file mode 100644 index 0000000..4867279 --- /dev/null +++ b/satellites/steam.sat @@ -0,0 +1,23 @@ +name=steam +version=1.0.0.52 +update_url="http://repo.steampowered.com/$name/archive/precise/" + +dlextract "http://repo.steampowered.com/$name/archive/precise/${name}_$version.tar.gz" \ + '18fe1e009d229ec2eb28e4e7fa87ebc8' +header_end + +cd "$name" + +# Fix directories +sed -i -e "s/\$(PREFIX)\/bin/\$(PREFIX)\/$(safe_sed "$dir_bindir")/" \ + -e "s/\$(PREFIX)\/lib/\$(PREFIX)\/$(safe_sed "$dir_libdir")/" \ + -e "s/\$(PREFIX)\/share\/man/\$(PREFIX)\/$(safe_sed "$dir_mandir")/" \ + -e "s/\$(PREFIX)\/share\/doc/\$(PREFIX)\/$(safe_sed "$dir_docdir")/" \ + -e "s/\$(PREFIX)\/share/\$(PREFIX)\/$(safe_sed "$dir_datadir")/" Makefile + +sed -i -e "/LAUNCHSTEAMBOOTSTRAPFILE=/s/usr\/lib/$(safe_sed "$dir_prefix/$dir_libdir")/" \ + -e "s/usr\/share\/applications/$(safe_sed "$dir_prefix/$dir_datadir/applications")/" "$name" + +make PREFIX="/$dir_prefix" DESTDIR="$dir_install" install + +# vim:set tabstop=4 shiftwidth=4 syntax=sh et: