-
Notifications
You must be signed in to change notification settings - Fork 62
/
appImage-packages-ia32.sh
executable file
·49 lines (34 loc) · 1.55 KB
/
appImage-packages-ia32.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/env bash
set -e
BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
rm -rf /tmp/appimage
mkdir /tmp/appimage
cd /tmp/appimage
mkdir packages
# required for ElementaryOS
curl http://mirrors.kernel.org/ubuntu/pool/main/g/gconf/libgconf-2-4_3.2.6-0ubuntu2_i386.deb -o f.deb
dpkg-deb -R f.deb ef
mv ef/usr/lib/i386-linux-gnu/libgconf-2.so.4.1.5 packages/libgconf-2.so.4
rm -rf ef
curl http://mirrors.kernel.org/ubuntu/pool/main/libn/libnotify/libnotify4_0.7.6-1ubuntu3_i386.deb -o f.deb
dpkg-deb -R f.deb ef
mv ef/usr/lib/i386-linux-gnu/libnotify.so.4.0.0 packages/libnotify.so.4
rm -rf ef
# libappindicator1
curl http://mirrors.kernel.org/ubuntu/pool/main/liba/libappindicator/libappindicator1_12.10.1+13.10.20130920-0ubuntu4_i386.deb -o f.deb
dpkg-deb -R f.deb ef
mv ef/usr/lib/i386-linux-gnu/libappindicator.so.1.0.0 packages/libappindicator.so.1
curl http://mirrors.kernel.org/ubuntu/pool/main/libi/libindicator/libindicator7_12.10.2+14.04.20140402-0ubuntu1_i386.deb -o f.deb
dpkg-deb -R f.deb ef
mv ef/usr/lib/i386-linux-gnu/libindicator.so.7.0.0 packages/libindicator.so.7
rm -rf ef
# libxtst6
curl http://mirrors.kernel.org/ubuntu/pool/main/libx/libxtst/libxtst6_1.2.2-1_i386.deb -o f.deb
dpkg-deb -R f.deb ef
mv ef/usr/lib/i386-linux-gnu/libXtst.so.6.1.0 packages/libXtst.so.6
rm -rf ef
# libxss1, required for fedora
curl http://mirrors.kernel.org/ubuntu/pool/main/libx/libxss/libxss1_1.2.2-1_i386.deb -o f.deb
dpkg-deb -R f.deb ef
mv ef/usr/lib/i386-linux-gnu/libXss.so.1.0.0 packages/libXss.so.1
cp /tmp/appimage/packages/* $BASEDIR/i386-linux-gnu/