From 158256732ada3bb965d53045035b54eb7c0d64d2 Mon Sep 17 00:00:00 2001 From: travankor Date: Sun, 23 Feb 2020 14:16:10 -0700 Subject: [PATCH] liberation-fonts-ttf: update to 2.1.0. --- srcpkgs/liberation-fonts-ttf/template | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/srcpkgs/liberation-fonts-ttf/template b/srcpkgs/liberation-fonts-ttf/template index 3e8e28a993..dca9624958 100644 --- a/srcpkgs/liberation-fonts-ttf/template +++ b/srcpkgs/liberation-fonts-ttf/template @@ -1,21 +1,24 @@ # Template file for 'liberation-fonts-ttf' pkgname=liberation-fonts-ttf -version=2.00.5 +version=2.1.0 revision=1 archs=noarch -makedepends="font-util xbps-triggers" -depends="${makedepends}" +wrksrc=${pkgname%-*}-${version} +build_style=gnu-makefile +hostmakedepends="fontforge fonttools" +depends="font-util" short_desc="TrueType fonts from RedHat" maintainer="Orphaned " license="OFL-1.1" homepage="https://github.com/liberationfonts/liberation-fonts" -distfiles="https://github.com/liberationfonts/liberation-fonts/files/2926169/liberation-fonts-ttf-${version}.tar.gz" -checksum=f14ff0a0be87b5aeb672e669363b5a699db76feb1144b06798261c0fdcd2b24d +changelog="https://raw.githubusercontent.com/liberationfonts/liberation-fonts/devel/ChangeLog" +distfiles="https://github.com/liberationfonts/liberation-fonts/archive/${version}.tar.gz" +checksum=a7761e42b43dfd0b4580f411829062ef98a6de6c2bafe0bfaf3041eb057d9107 font_dirs="/usr/share/fonts/TTF" do_install() { vmkdir usr/share/fonts/TTF - install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF + install -m644 ${pkgname}-${version}/*.ttf ${DESTDIR}/usr/share/fonts/TTF # install fontconfig files vinstall ${FILESDIR}/30-0-liberation-mono.conf 644 \ @@ -24,6 +27,4 @@ do_install() { etc/fonts/conf.avail 30-${pkgname}-sans.conf vinstall ${FILESDIR}/30-0-liberation-serif.conf 644 \ etc/fonts/conf.avail 30-${pkgname}-serif.conf - - vlicense LICENSE }