New package: khmer-fonts-ttf-5.0

This commit is contained in:
Doan Tran Cong Danh 2019-06-27 12:13:45 +07:00 committed by Jürgen Buchmüller
parent 2c09073cb3
commit 623a0a8b85
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# Template file for 'khmer-fonts-ttf'
pkgname=khmer-fonts-ttf
version=5.0
revision=1
archs=noarch
wrksrc="All_KhmerOS_${version}"
hostmakedepends="unzip"
depends="font-util"
short_desc="Fonts for Khmer and Latin script"
maintainer="Doan Tran Cong 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
}