diff options
Diffstat (limited to 'remote/modules/dunst/module.build')
| -rw-r--r-- | remote/modules/dunst/module.build | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/remote/modules/dunst/module.build b/remote/modules/dunst/module.build new file mode 100644 index 00000000..16e0bb5b --- /dev/null +++ b/remote/modules/dunst/module.build @@ -0,0 +1,22 @@ +#!/bin/bash + +fetch_source() { + : +} + +build() { + COPYLIST="list_dpkg_output" + [ -e "$COPYLIST" ] && rm "$COPYLIST" + + list_packet_files >> "$COPYLIST" + tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}" + + # copy udev rules to correct location + [ -d "${MODULE_BUILD_DIR}/lib/udev" ] && mv "${MODULE_BUILD_DIR}/lib/udev" "${MODULE_BUILD_DIR}/usr/lib/" +} + +post_copy() { + mkdir -p "${TARGET_BUILD_DIR}/etc/X11" + [ ! -e ${TARGET_BUILD_DIR}/etc/X11/X ] && ln -s /usr/bin/Xorg ${TARGET_BUILD_DIR}/etc/X11/X +} + |
