38 lines
1.3 KiB
Bash
38 lines
1.3 KiB
Bash
# Template file for 'fonts-nanum-ttf'
|
|
pkgname=fonts-nanum-ttf
|
|
version=20180306
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc=${pkgname%-*}-${version}
|
|
depends="font-util"
|
|
short_desc="Nanum Korean fonts"
|
|
maintainer="travankor <travankor@tuta.io>"
|
|
license="OFL-1.1"
|
|
homepage="https://hangeul.naver.com/2017/nanum"
|
|
distfiles="${DEBIAN_SITE}/main/f/${pkgname%-*}/${pkgname%-*}_${version}.orig.tar.xz"
|
|
checksum=2761e62f3f3f500c7a50d40d5ee8bbd87abe22ab42a78df0496cf80c95fec6f0
|
|
font_dirs="/usr/share/fonts/TTF"
|
|
|
|
do_install() {
|
|
vmkdir usr/share/fonts/TTF
|
|
install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF
|
|
}
|
|
|
|
fonts-nanum-ttf-extra_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - additional variants"
|
|
pkg_install() {
|
|
vmove usr/share/fonts/TTF/NanumBarunGothicLight.ttf
|
|
vmove usr/share/fonts/TTF/NanumBarunGothicUltraLight.ttf
|
|
vmove usr/share/fonts/TTF/NanumBarunpen*.ttf
|
|
vmove usr/share/fonts/TTF/NanumBrush.ttf
|
|
vmove usr/share/fonts/TTF/NanumGothicExtraBold.ttf
|
|
vmove usr/share/fonts/TTF/NanumGothicLight.ttf
|
|
vmove usr/share/fonts/TTF/NanumMyeongjoExtraBold.ttf
|
|
vmove usr/share/fonts/TTF/NanumPen.ttf
|
|
vmove usr/share/fonts/TTF/NanumSquareEB.ttf
|
|
vmove usr/share/fonts/TTF/NanumSquareL.ttf
|
|
vmove usr/share/fonts/TTF/NanumSquareRoundEB.ttf
|
|
vmove usr/share/fonts/TTF/NanumSquareRoundL.ttf
|
|
}
|
|
}
|