diff --git a/srcpkgs/Fonts-TLWG-otf b/srcpkgs/Fonts-TLWG-otf new file mode 120000 index 0000000000..d3691ef40d --- /dev/null +++ b/srcpkgs/Fonts-TLWG-otf @@ -0,0 +1 @@ +Fonts-TLWG \ No newline at end of file diff --git a/srcpkgs/Fonts-TLWG/template b/srcpkgs/Fonts-TLWG/template index 06b4c06e8e..338be66a1f 100644 --- a/srcpkgs/Fonts-TLWG/template +++ b/srcpkgs/Fonts-TLWG/template @@ -1,11 +1,12 @@ # Template file for 'Fonts-TLWG' pkgname=Fonts-TLWG -version=0.6.5 +version=0.7.0 revision=1 -wrksrc="fonts-tlwg-${version}" noarch=yes +wrksrc="fonts-tlwg-${version}" build_style=gnu-configure -configure_args="--with-ttfdir=/usr/share/fonts/TTF" +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" @@ -14,8 +15,17 @@ maintainer="ColdPhoenix " 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=06faaa60f9bbbb178c788697dcc10676165595de1403b79c868bd57f60223bd1 +checksum=442793eed437c6866201759de207c9969bee1fd44a1c082d2e45cf2796dd3b08 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 + } +}