From 537487df18de096ef7cc7cef23195e2ba66f6a42 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Thu, 1 Apr 2021 14:50:06 +0300 Subject: [PATCH] font-Hasklig: update to 1.2, - remove unzip from hostmakedepends as bsdtar handles the zip distfile, - fix the distfile url, - add changelog, - install correctly and only the OTF fonts, - adopt the template. --- srcpkgs/font-Hasklig/template | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/srcpkgs/font-Hasklig/template b/srcpkgs/font-Hasklig/template index 82872213ef49..b65c065d17b1 100644 --- a/srcpkgs/font-Hasklig/template +++ b/srcpkgs/font-Hasklig/template @@ -1,20 +1,20 @@ # Template file for 'font-Hasklig' pkgname=font-Hasklig -version=1.1 -revision=2 +version=1.2 +revision=1 create_wrksrc=yes -hostmakedepends="unzip" depends="font-util xbps-triggers" short_desc="Monospaced font with ligatures" -maintainer="Orphaned " +maintainer="mobinmob " license="OFL-1.1" homepage="https://github.com/i-tu/Hasklig/" -distfiles="https://github.com/i-tu/Hasklig/releases/download/${version}/Hasklig-${version}.zip" -checksum=98eccec22bc0ae3838a099a911230f62197e681b6a6c30e5149c52f5fc6a95c3 +changelog="https://raw.githubusercontent.com/i-tu/Hasklig/main/CHANGELOG.md" +distfiles="https://github.com/i-tu/Hasklig/releases/download/v${version}/Hasklig-${version}.zip" +checksum=9cd35a7449b220dc84f9516c57817e147003fc905a477f1ec727816d9d8a81d4 font_dirs="/usr/share/fonts/OTF" do_install() { vmkdir usr/share/fonts/OTF - vcopy "*" usr/share/fonts/OTF + vcopy "OTF/*" usr/share/fonts/OTF }