summaryrefslogtreecommitdiffstats
path: root/core/modules/kdm/module.build
blob: c1467859cead1108bacb3d55dd154b0c2cdfc800 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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}"
}

post_copy() {
	# copy required icons
	# TODO: Why here? gtk <-> kdm?
	gtk-update-icon-cache-3.0 "${TARGET_BUILD_DIR}/usr/share/icons/oxygen/" || pwarning "update-icon-cache-3.0 failed."
}