30 lines
865 B
Bash
30 lines
865 B
Bash
# Template file for 'Fonts-TLWG'
|
|
pkgname=Fonts-TLWG
|
|
version=0.7.1
|
|
revision=2
|
|
wrksrc="fonts-tlwg-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--with-ttfdir=/usr/share/fonts/TTF --with-otfdir=/usr/share/fonts/OTF
|
|
--enable-ttf"
|
|
hostmakedepends="fontforge"
|
|
depends="font-util"
|
|
short_desc="Thai fonts TTF"
|
|
maintainer="ColdPhoenix <coldphoenix@interia.pl>"
|
|
license="GPL-2.0-or-later, custom:Bitstream-Font-License"
|
|
homepage="https://linux.thai.net/projects/fonts-tlwg"
|
|
distfiles="https://github.com/tlwg/fonts-tlwg/releases/download/v${version}/fonts-tlwg-${version}.tar.xz"
|
|
checksum=895fd5ee53e108860c2fe13cf0679d3bd29c47b3ee4e0004a1589f902e5efdcd
|
|
font_dirs="/usr/share/fonts/TTF"
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
Fonts-TLWG-otf_package() {
|
|
short_desc="Thai fonts OTF"
|
|
font_dirs="/usr/share/fonts/OTF"
|
|
pkg_install() {
|
|
vmove usr/share/fonts/OTF
|
|
}
|
|
}
|