void-packages/srcpkgs/Fonts-TLWG/template
2018-11-06 05:55:40 -02:00

31 lines
881 B
Bash

# Template file for 'Fonts-TLWG'
pkgname=Fonts-TLWG
version=0.7.1
revision=1
noarch=yes
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() {
noarch=yes
short_desc="Thai fonts OTF"
font_dirs="/usr/share/fonts/OTF"
pkg_install() {
vmove usr/share/fonts/OTF
}
}