blob: f851d251fc634bc91e3dcd1678ef034b75c2af95 (
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 libnewt-32 libnl-32 libnm-32 libpsl-32 libsdl2-32 libudev0-shim-32 libva-32 openssl1-32 rtmpdump-32 steam vulkan-loader-32 xorg-libxscrnsaver-32
5 # Optional: apulse-32 libappindicator-sharp-32 pulseaudio-32
6
7 name=steam-native-runtime
8 version=0.1
9 release=3
10 source=(steam-native.sh)
11
12 build() {
13 cp /usr/share/applications/steam.desktop steam-native.desktop
14 sed -r 's|(Name=Steam) \(Runtime\)|\1 (Native)|' -i steam-native.desktop
15 sed -r 's|(/usr/bin/steam)-runtime|\1-native|' -i steam-native.desktop
16
17 install -Dm 644 steam-native.desktop -t $PKG/usr/share/applications
18 install -Dm 755 steam-native.sh $PKG/usr/bin/steam-native
19
20 install -d $PKG/usr/lib/steam
21 ln -s /usr/lib/libcurl.so.3 $PKG/usr/lib/steam/libcurl.so.3
22 ln -s /usr/lib/libcurl.so.4.2.0 $PKG/usr/lib/steam/libcurl.so.4
23 ln -s /usr/lib/libcurl.so.4.2.0 $PKG/usr/lib/steam/libcurl.so.4.2.0
24
25 install -d $PKG/usr/lib32/steam
26 ln -s /usr/lib32/libcurl.so.3 $PKG/usr/lib32/steam/libcurl.so.3
27 ln -s /usr/lib32/libcurl.so.4.2.0 $PKG/usr/lib32/steam/libcurl.so.4
28 ln -s /usr/lib32/libcurl.so.4.2.0 $PKG/usr/lib32/steam/libcurl.so.4.2.0
29
30 # Apparently libpcre.so.3 is just a Debian-specific version of libpcre.so.1
31 # https://sources.debian.org/src/pcre3/2:8.39-12/debian/README.Debian/
32 ln -s /usr/lib/libpcre.so $PKG/usr/lib/steam/libpcre.so.3
33 ln -s /usr/lib32/libpcre.so $PKG/usr/lib32/steam/libpcre.so.3
34 }
|