blob: 44aec621e4c3f19c1dbe353bb7cc6e23ece0d74a (
plain)
1 # Description: Meta package to run steam-native
2 # URL: https://steampowered.com
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: brotli-32 cups-32 libcaca-32 libcanberra-32 libidn133-32 libjpeg6-turbo-32 libnewt-32 libnl-32 libnm-32 libpng12-32 libsdl2-32 libtiff4-32 libudev0-shim-32 libva-32 openssl11-32 pipewire-32 rtmpdump-32 steam vulkan-loader-32 vulkan-validation-layers-32 xorg-libxscrnsaver-32
5 # Optional: apulse-32 libappindicator-sharp-32 pulseaudio-32
6
7 name=steam-native-runtime
8 version=1.0.0.75
9 release=1
10 source=(steam-native.sh)
11
12 build() {
13 cp /usr/share/applications/steam.desktop steam-native.desktop
14 sed '/^Icon=.*/i StartupWMClass=Steam' -i steam-native.desktop
15 sed -r 's|(Name=Steam) \(Runtime\)|\1 (Native)|' -i steam-native.desktop
16 sed -r 's|(/usr/bin/steam)-runtime|\1-native|' -i steam-native.desktop
17
18 install -Dm 644 steam-native.desktop -t $PKG/usr/share/applications
19 install -Dm 755 steam-native.sh $PKG/usr/bin/steam-native
20
21 install -d $PKG/usr/lib/steam
22 ln -s /usr/lib/libcurl.so.3 $PKG/usr/lib/steam/libcurl.so.3
23 ln -s /usr/lib/libcurl.so.4.8.0 $PKG/usr/lib/steam/libcurl.so.4
24 ln -s /usr/lib/libcurl.so.4.8.0 $PKG/usr/lib/steam/libcurl.so.4.8.0
25
26 install -d $PKG/usr/lib32/steam
27 ln -s /usr/lib32/libcurl.so.3 $PKG/usr/lib32/steam/libcurl.so.3
28 ln -s /usr/lib32/libcurl.so.4.8.0 $PKG/usr/lib32/steam/libcurl.so.4
29 ln -s /usr/lib32/libcurl.so.4.8.0 $PKG/usr/lib32/steam/libcurl.so.4.8.0
30 }
|