void-packages/srcpkgs/khmer-fonts-ttf/template

21 lines
668 B
Bash

# Template file for 'khmer-fonts-ttf'
pkgname=khmer-fonts-ttf
version=5.0
revision=2
wrksrc="All_KhmerOS_${version}"
hostmakedepends="unzip"
depends="font-util"
short_desc="Fonts for Khmer and Latin script"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="LGPL-2.1-or-later"
homepage="http://www.khmeros.info/?q=en/fonts"
distfiles="${SOURCEFORGE_SITE}/khmer/Fonts%20-%20KhmerOS/KhmerOS%20Fonts%20${version}-%20LGPL%20Licence/All_KhmerOS_${version}.zip"
checksum=62fec2273016fb6e69b18635e696fd2c91953af9cbe757b341721aec2232432e
font_dirs="/usr/share/fonts/TTF"
do_install() {
for f in ./*.ttf; do
vinstall "$f" 644 usr/share/fonts/TTF
done
}