vp-build/srcpkgs/Fonts-TLWG/template

32 lines
881 B
Bash
Raw Normal View History

2017-06-27 02:11:40 +02:00
# Template file for 'Fonts-TLWG'
pkgname=Fonts-TLWG
2018-11-05 23:44:45 +01:00
version=0.7.1
2017-06-27 02:11:40 +02:00
revision=1
2018-06-21 08:11:14 +02:00
noarch=yes
2018-11-01 23:47:29 +01:00
wrksrc="fonts-tlwg-${version}"
2017-06-27 02:11:40 +02:00
build_style=gnu-configure
2018-11-01 23:47:29 +01:00
configure_args="--with-ttfdir=/usr/share/fonts/TTF --with-otfdir=/usr/share/fonts/OTF
--enable-ttf"
2018-06-21 08:11:14 +02:00
hostmakedepends="fontforge"
depends="font-util"
font_dirs="/usr/share/fonts/TTF"
2017-06-27 02:11:40 +02:00
short_desc="Thai fonts TTF"
maintainer="ColdPhoenix <coldphoenix@interia.pl>"
2018-06-21 08:11:14 +02:00
license="GPL-2.0-or-later, Bitstream Font License"
2017-06-27 02:11:40 +02:00
homepage="https://linux.thai.net/projects/fonts-tlwg"
2018-06-21 08:11:14 +02:00
distfiles="https://github.com/tlwg/fonts-tlwg/releases/download/v${version}/fonts-tlwg-${version}.tar.xz"
2018-11-05 23:44:45 +01:00
checksum=895fd5ee53e108860c2fe13cf0679d3bd29c47b3ee4e0004a1589f902e5efdcd
2017-06-27 02:11:40 +02:00
post_install() {
vlicense COPYING
}
2018-11-01 23:47:29 +01:00
Fonts-TLWG-otf_package() {
noarch=yes
short_desc="Thai fonts OTF"
font_dirs="/usr/share/fonts/OTF"
pkg_install() {
vmove usr/share/fonts/OTF
}
}