blob: 98bd5b820d9ea89801a7d403b857964683a6864b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
SECTION = "fonts"
PRIORITY = "optional"
RRECOMMENDS += "font-update-common"
do_install() {
install -d ${D}${datadir}/fonts/truetype/
if [ -e *.ttf ]; then
install -m 0644 *.ttf ${D}${datadir}/fonts/truetype/
fi
if [ -e *.ttc ]; then
install -m 0644 *.ttc ${D}${datadir}/fonts/truetype/
fi
}
pkg_postinst_append() {
update-fonts
}
pkg_postrm_append() {
update-fonts
}
PACKAGE_ARCH = "all"
|