diff options
author | Simon Rettberg | 2021-07-12 13:32:27 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-07-12 13:32:27 +0200 |
commit | d69028811168853efdaad3f07f70dff93fccd112 (patch) | |
tree | ceeb992ba51e0712419272c06420a37ae921eb19 /core/modules/dunst | |
parent | [vbox-src] fix awk call (diff) | |
download | mltk-d69028811168853efdaad3f07f70dff93fccd112.tar.gz mltk-d69028811168853efdaad3f07f70dff93fccd112.tar.xz mltk-d69028811168853efdaad3f07f70dff93fccd112.zip |
Remove COPYLIST boilerplate from every module; move to setup_target
Diffstat (limited to 'core/modules/dunst')
-rw-r--r-- | core/modules/dunst/module.build | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/core/modules/dunst/module.build b/core/modules/dunst/module.build index 16e0bb5b..d09204e5 100644 --- a/core/modules/dunst/module.build +++ b/core/modules/dunst/module.build @@ -5,18 +5,14 @@ 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/" + if [ -d "${TARGET_BUILD_DIR}/usr/lib/udev" ] && [ -d "${MODULE_BUILD_DIR}/lib/udev" ]; then + mv "${MODULE_BUILD_DIR}/lib/udev" "${MODULE_BUILD_DIR}/usr/lib/" + fi } 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 + [ ! -e ${TARGET_BUILD_DIR}/etc/X11/X ] && ln -s /usr/bin/Xorg ${TARGET_BUILD_DIR}/etc/X11/X } |