From 88d6556889ecd304151237f2fcbe48b2684f64d1 Mon Sep 17 00:00:00 2001 From: aktsbot Date: Sat, 18 Jul 2020 00:40:45 +0530 Subject: [PATCH 1/3] New package: font-manjari-1.810 --- srcpkgs/font-manjari/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/font-manjari/template diff --git a/srcpkgs/font-manjari/template b/srcpkgs/font-manjari/template new file mode 100644 index 00000000000..14a3b259912 --- /dev/null +++ b/srcpkgs/font-manjari/template @@ -0,0 +1,21 @@ +# Template file for 'font-manjari' +pkgname=font-manjari +version=1.810 +revision=1 +archs="noarch" +create_wrksrc=yes +hostmakedepends="unzip" +depends="font-util" +font_dirs="/usr/share/fonts/TTF" +short_desc="Manjari: Malayalam font with smooth curves" +maintainer="Ashish Kurian Thomas " +license="SIL OPEN FONT LICENSE Version 1.1" +homepage="https://smc.org.in/fonts/manjari" +distfiles="https://smc.org.in/downloads//fonts/manjari/manjari.zip" +checksum=f91b7c7ae232e3c0555badc88a5fbfa010ba61f5e44bb062f72b656a1e10367d + +do_install() { + for f in *.ttf; do + vinstall $f 0644 /usr/share/fonts/TTF + done +} From 2338b95257501ee1ce4c86aa77e2ab7ad43ba036 Mon Sep 17 00:00:00 2001 From: aktsbot Date: Sat, 18 Jul 2020 00:58:32 +0530 Subject: [PATCH 2/3] font-manjari: License line was incorrect --- srcpkgs/font-manjari/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/font-manjari/template b/srcpkgs/font-manjari/template index 14a3b259912..334bc5c6653 100644 --- a/srcpkgs/font-manjari/template +++ b/srcpkgs/font-manjari/template @@ -9,7 +9,7 @@ depends="font-util" font_dirs="/usr/share/fonts/TTF" short_desc="Manjari: Malayalam font with smooth curves" maintainer="Ashish Kurian Thomas " -license="SIL OPEN FONT LICENSE Version 1.1" +license="OFL-1.1" homepage="https://smc.org.in/fonts/manjari" distfiles="https://smc.org.in/downloads//fonts/manjari/manjari.zip" checksum=f91b7c7ae232e3c0555badc88a5fbfa010ba61f5e44bb062f72b656a1e10367d From ff2cfd56415e9ab311c62056ef32cc3f378cba84 Mon Sep 17 00:00:00 2001 From: aktsbot Date: Sat, 18 Jul 2020 01:18:27 +0530 Subject: [PATCH 3/3] font-manjari: Added LICENSE file and its sha256 in distfiles --- srcpkgs/font-manjari/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/font-manjari/template b/srcpkgs/font-manjari/template index 334bc5c6653..2c1e74bb0ee 100644 --- a/srcpkgs/font-manjari/template +++ b/srcpkgs/font-manjari/template @@ -11,11 +11,14 @@ short_desc="Manjari: Malayalam font with smooth curves" maintainer="Ashish Kurian Thomas " license="OFL-1.1" homepage="https://smc.org.in/fonts/manjari" -distfiles="https://smc.org.in/downloads//fonts/manjari/manjari.zip" -checksum=f91b7c7ae232e3c0555badc88a5fbfa010ba61f5e44bb062f72b656a1e10367d +distfiles="https://smc.org.in/downloads//fonts/manjari/manjari.zip + https://gitlab.com/smc/fonts/manjari/-/blob/Version${version}/LICENSE.txt" +checksum="f91b7c7ae232e3c0555badc88a5fbfa010ba61f5e44bb062f72b656a1e10367d + 2eca3edf8b11c104053a8491bd2abe7af5afb7e41226d897d8828fbc8aa3b7b3" do_install() { for f in *.ttf; do vinstall $f 0644 /usr/share/fonts/TTF + vlicense ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/LICENSE.txt done }