updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / splashy-full / splashy.initcpio_install
blob20ccfd1a6302845a5bb6944a6c8d01a09e4e42a5
1 # vim: set ft=sh:
2 build() {
3 [ -x /sbin/splashy ] || return 1
5 THEMES_DIR="$(splashy_config --get-key /splashy/themes 2> /dev/null)"
6 CURRENT_THEME="$(splashy_config --get-key /splashy/current_theme 2> /dev/null)"
8 add_binary "/sbin/splashy"
9 add_file "/sbin/splashy_chvt"
10 add_file "/etc/splashy/config.xml"
11 add_full_dir "${THEMES_DIR}/${CURRENT_THEME}"
13 #shared libraries needed by splashy
14 add_file "/usr/lib/libsplashycnf.so.1"
15 add_file "/usr/lib/libsplashy.so.1"
16 add_file "/usr/lib/libglib-2.0.so.0"
17 add_file "/usr/lib/libdirectfb-1.4.so.5"
18 add_file "/usr/lib/libfusion-1.4.so.5"
19 add_file "/usr/lib/libdirect-1.4.so.5"
20 add_file "/usr/lib/libpng14.so.14"
21 add_file "/usr/lib/libjpeg.so"
22 add_file "/usr/lib/libfreetype.so.6"
23 add_file "/lib/libm.so.6"
24 add_file "/lib/libpthread.so.0"
25 add_file "/usr/lib/libz.so.1"
26 add_file "/lib/libdl.so.2"
27 add_file "/lib/libc.so.6"
28 add_file "/lib/libpcre.so.0"
29 add_file "/lib/libsysfs.so.2"
30 add_file "/usr/lib/directfb-1.4-5/wm/libdirectfbwm_default.so"
31 add_file "/usr/lib/directfb-1.4-5/systems/libdirectfb_fbdev.so"
32 add_file "/usr/lib/directfb-1.4-5/inputdrivers/libdirectfb_keyboard.so"
33 add_file "/usr/lib/directfb-1.4-5/interfaces/IDirectFBFont/libidirectfbfont_ft2.so"
34 # add_file "/usr/lib/directfb-1.4-5/interfaces/IDirectFBFont/libidirectfbfont_default.so"
35 add_file "/usr/lib/directfb-1.4-5/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.so"
36 add_file "/usr/lib/directfb-1.4-5/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg.so"
38 if [ $(arch) = "x86_64" ]; then
39 add_file "/lib/ld-linux-x86-64.so.2"
40 else
41 add_file "/lib/ld-linux.so.2"
44 SCRIPT="splashy"
47 help() {
48 echo "This hook includes Splashy in the initramfs image."
51 #EOF