From 19e6107673e5ba6aa0ee80ebac4c5b626892e1ad Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Sun, 24 Mar 2024 17:02:09 -0400 Subject: [PATCH 1/4] add comic mono template --- srcpkgs/comic-mono-ttf/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/comic-mono-ttf/template diff --git a/srcpkgs/comic-mono-ttf/template b/srcpkgs/comic-mono-ttf/template new file mode 100644 index 00000000000000..31fc66088a319e --- /dev/null +++ b/srcpkgs/comic-mono-ttf/template @@ -0,0 +1,19 @@ +# Template file for 'font-comic-mono-ttf' +pkgname=font-comic-mono-ttf +version=1 +revision=0 +depends="font-util xbps-triggers" +short_desc="Comic Sans-based monospace font, forked from Comic Shanns" +maintainer="Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com>" +license="MIT" +homepage="https://dtinth.github.io/comic-mono-font/" +distfiles="https://github.com/dtinth/comic-mono-font/archive/refs/heads/master.tar.gz" +checksum=19b280825653be975fae9f20f5cf48286e88166bf4185ffa3d5bdb03f7719083 + +font_dirs="/usr/share/fonts/OTF" + +do_install() { + vmkdir usr/share/fonts/OTF + install -m644 *.ttf ${DESTDIR}/usr/share/fonts/OTF + vlicense LICENSE +} From ac02aec3a06e4d7578948e16a98fa3f55c2d4c1b Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Sun, 24 Mar 2024 17:05:32 -0400 Subject: [PATCH 2/4] install in TTF folder --- srcpkgs/comic-mono-ttf/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/comic-mono-ttf/template b/srcpkgs/comic-mono-ttf/template index 31fc66088a319e..a291b16de1dbdf 100644 --- a/srcpkgs/comic-mono-ttf/template +++ b/srcpkgs/comic-mono-ttf/template @@ -10,10 +10,10 @@ homepage="https://dtinth.github.io/comic-mono-font/" distfiles="https://github.com/dtinth/comic-mono-font/archive/refs/heads/master.tar.gz" checksum=19b280825653be975fae9f20f5cf48286e88166bf4185ffa3d5bdb03f7719083 -font_dirs="/usr/share/fonts/OTF" +font_dirs="/usr/share/fonts/TTF" do_install() { vmkdir usr/share/fonts/OTF - install -m644 *.ttf ${DESTDIR}/usr/share/fonts/OTF + install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF vlicense LICENSE } From 657c241da24efe4f9120db6bca70c0d044073aef Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Sun, 24 Mar 2024 17:17:19 -0400 Subject: [PATCH 3/4] finalize changes --- srcpkgs/{comic-mono-ttf => font-comic-mono-ttf}/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) rename srcpkgs/{comic-mono-ttf => font-comic-mono-ttf}/template (82%) diff --git a/srcpkgs/comic-mono-ttf/template b/srcpkgs/font-comic-mono-ttf/template similarity index 82% rename from srcpkgs/comic-mono-ttf/template rename to srcpkgs/font-comic-mono-ttf/template index a291b16de1dbdf..55c876858018b6 100644 --- a/srcpkgs/comic-mono-ttf/template +++ b/srcpkgs/font-comic-mono-ttf/template @@ -9,11 +9,10 @@ license="MIT" homepage="https://dtinth.github.io/comic-mono-font/" distfiles="https://github.com/dtinth/comic-mono-font/archive/refs/heads/master.tar.gz" checksum=19b280825653be975fae9f20f5cf48286e88166bf4185ffa3d5bdb03f7719083 - -font_dirs="/usr/share/fonts/TTF" +font_dirs="/usr/share/fonts/TTF/comic-mono" do_install() { - vmkdir usr/share/fonts/OTF - install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF + vmkdir ${font_dirs} + vcopy '*.ttf' ${font_dirs} vlicense LICENSE } From aa6d1aa27c9c838f627592b8dadc32179b7a5b47 Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Sun, 24 Mar 2024 17:42:10 -0400 Subject: [PATCH 4/4] linting --- srcpkgs/font-comic-mono-ttf/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/font-comic-mono-ttf/template b/srcpkgs/font-comic-mono-ttf/template index 55c876858018b6..a8705311f0778d 100644 --- a/srcpkgs/font-comic-mono-ttf/template +++ b/srcpkgs/font-comic-mono-ttf/template @@ -1,10 +1,10 @@ # Template file for 'font-comic-mono-ttf' pkgname=font-comic-mono-ttf version=1 -revision=0 +revision=1 depends="font-util xbps-triggers" short_desc="Comic Sans-based monospace font, forked from Comic Shanns" -maintainer="Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com>" +maintainer="Trevor James Smith " license="MIT" homepage="https://dtinth.github.io/comic-mono-font/" distfiles="https://github.com/dtinth/comic-mono-font/archive/refs/heads/master.tar.gz"