summaryrefslogtreecommitdiffstats
path: root/remote/modules/openbox/openbox.build
blob: 51c6beec46e3f993e1def98c7d2f938e41faae5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
fetch_source() {
	:
}

build() {
	COPYLIST="list_dpkg_output"
	[ -e "$COPYLIST" ] && rm "$COPYLIST"

	list_packet_files >> "$COPYLIST"
	# FIXME: Hack: openSUSE's rpm -ql lilsts non-existant pango.modules, which makes
	# tarcopy fail. We probably can't fix that, so remove it using grep....
	tarcopy "$(cat "$COPYLIST" | grep -v 'pango\.modules$' | sort -u)" "${MODULE_BUILD_DIR}"

	return 0
}

post_copy() {
	[ ! -d "$TARGET_BUILD_DIR/etc/pango" ] && mkdir -p "$TARGET_BUILD_DIR/etc/pango"
	pango-querymodules > "$TARGET_BUILD_DIR/etc/pango/pango.modules"
}