diff --git a/srcpkgs/liberation-fonts-ttf/template b/srcpkgs/liberation-fonts-ttf/template index 34312aaa962..1e5b1997b0b 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