Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 44 lines (32 sloc) 1.04 KB
#!/usr/bin/env beesh
# BEE_VERSION font-wqy-zenhei-0.9.45-1
# SRCURL[0]="http://http.debian.net/debian/pool/main/f/fonts-wqy-zenhei/fonts-wqy-zenhei_${PKGVERSION}.orig.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/4c6c3f4e902dd5ee0a121e8c41d040bd/fonts-wqy-zenhei_0.9.45.orig.tar.gz"
# PATCHURL+=()
# EXCLUDE+=()
# build_in_sourcedir
# sourcesubdir_append src
#mee_extract() {
# bee_extract "${@}"
#}
mee_extract_post() {
rm ${S}/Makefile
}
#mee_patch() {
# bee_patch "${@}"
#}
#mee_configure() {
# bee_configure
#}
#mee_build() {
# bee_build
#}
mee_install() {
install -d -v --mode=755 ${D}/usr/share/fonts/wenquanyi
install -d -v --mode=755 ${D}/usr/share/fonts/wenquanyi/wqy-zenhei
cp -av ${S}/wqy-zenhei.ttc ${D}/usr/share/fonts/wenquanyi/wqy-zenhei
mkdir -pv ${D}/usr/share/fontconfig/conf.avail
sed '9,10d' ${S}/44-wqy-zenhei.conf > ${D}/usr/share/fontconfig/conf.avail/65-wqy-zenhei.conf
mkdir -p ${D}/etc/fonts/conf.d
ln -s /usr/share/fontconfig/conf.avail/65-wqy-zenhei.conf ${D}/etc/fonts/conf.d
}