forked from nihilismus/bob-infinality-bundle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.sh
executable file
·42 lines (32 loc) · 892 Bytes
/
install.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
#!/bin/bash
set -e
# To have our own output directory (upgradepkg)
export TMP=/tmp/bob-infinality-bundle
rm -rf $TMP
# Number of CPUs + 1
export NUMJOBS=$(expr $(lscpu | grep -E '^CPU\(s\):' | xargs | cut -d ' ' -f 2) + 1)
echo "###"
echo "### Building: patches/source/freetype ..."
echo "###"
sleep 3
( cd patches/source/freetype
sh freetype.SlackBuild
#upgradepkg --install-new --reinstall $TMP/freetype*.txz
) || exit 1
echo "###"
echo "### Building: source/x/fontconfig ..."
echo "###"
sleep 3
( cd source/x/fontconfig
sh fontconfig.SlackBuild
#upgradepkg --install-new --reinstall $TMP/fontconfig*.txz
) || exit 1
echo "###"
echo "### Building: source/l/cairo ..."
echo "###"
sleep 3
( cd source/l/cairo
sh cairo.SlackBuild
#upgradepkg --install-new --reinstall $TMP/cairo*.txz
) || exit 1
echo "Finished. Built packages can be found in /tmp/bob-infinality-bundle"