void-packages/srcpkgs/Fonts-TLWG/template
2019-03-01 12:04:45 -03:00

31 lines
885 B
Bash

# Template file for 'Fonts-TLWG'
pkgname=Fonts-TLWG
version=0.7.1
revision=1
archs=noarch
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"
font_dirs="/usr/share/fonts/TTF"
short_desc="Thai fonts TTF"
maintainer="ColdPhoenix <coldphoenix@interia.pl>"
license="GPL-2.0-or-later, 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
post_install() {
vlicense COPYING
}
Fonts-TLWG-otf_package() {
archs=noarch
short_desc="Thai fonts OTF"
font_dirs="/usr/share/fonts/OTF"
pkg_install() {
vmove usr/share/fonts/OTF
}
}