Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name=steam
|
|
|
|
version=1.0.0.53
|
|
|
|
update_url="http://repo.steampowered.com/$name/archive/precise/"
|
|
|
|
|
|
|
|
dlextract "http://repo.steampowered.com/$name/archive/precise/${name}_$version.tar.gz" \
|
|
|
|
'2c1ff88d15d64c3997551a9874b7b830'
|
|
|
|
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 expandtab:
|