From 11b4dccf3daf2cc8539d42b1a01684fb21e091e7 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 1 Nov 2018 19:47:29 -0300 Subject: [PATCH] Fonts-TLWG: update to 0.7.0. --- srcpkgs/Fonts-TLWG-otf | 1 + srcpkgs/Fonts-TLWG/template | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) create mode 120000 srcpkgs/Fonts-TLWG-otf diff --git a/srcpkgs/Fonts-TLWG-otf b/srcpkgs/Fonts-TLWG-otf new file mode 120000 index 00000000000..d3691ef40d3 --- /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 06b4c06e8ee..338be66a1ff 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 + } +}