From 7b44452f0a2b28386d09c0d0c79d39d44bf5814a Mon Sep 17 00:00:00 2001 From: mobinmob Date: Tue, 23 Nov 2021 19:55:14 +0200 Subject: [PATCH] liberation-fonts-ttf: update to 2.1.5. Also: - update font metadata in pre_build(). --- srcpkgs/liberation-fonts-ttf/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/liberation-fonts-ttf/template b/srcpkgs/liberation-fonts-ttf/template index 34312aaa9622..1e5b1997b0bd 100644 --- a/srcpkgs/liberation-fonts-ttf/template +++ b/srcpkgs/liberation-fonts-ttf/template @@ -1,6 +1,6 @@ # Template file for 'liberation-fonts-ttf' pkgname=liberation-fonts-ttf -version=2.1.4 +version=2.1.5 revision=1 wrksrc=${pkgname%-*}-${version} build_style=gnu-makefile @@ -12,9 +12,13 @@ license="OFL-1.1" homepage="https://github.com/liberationfonts/liberation-fonts" changelog="https://raw.githubusercontent.com/liberationfonts/liberation-fonts/devel/ChangeLog" distfiles="https://github.com/liberationfonts/liberation-fonts/archive/${version}.tar.gz" -checksum=e76de918e7c98f4a992d2ab397196bde217d9aebc2ec305bf4d1d5bc765dbabc +checksum=9a823ccb33c8a8a865e84b982bcdc44d03ba4914adb91e6000df035dc0e55936 font_dirs="/usr/share/fonts/TTF" +pre_build() { + make versionupdate +} + do_install() { vmkdir usr/share/fonts/TTF install -m644 ${pkgname}-${version}/*.ttf ${DESTDIR}/usr/share/fonts/TTF