From ea284afa11c70000f1de85995d14c8f4564144e5 Mon Sep 17 00:00:00 2001 From: Hunter Ellett Date: Sat, 25 Nov 2023 12:30:26 -0600 Subject: [PATCH] New packages: font-comic-neue-ttf, font-comic-neue-otf --- srcpkgs/font-comic-neue-otf | 1 + srcpkgs/font-comic-neue-ttf/template | 36 ++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 120000 srcpkgs/font-comic-neue-otf create mode 100644 srcpkgs/font-comic-neue-ttf/template diff --git a/srcpkgs/font-comic-neue-otf b/srcpkgs/font-comic-neue-otf new file mode 120000 index 0000000000000..b21a285885bc5 --- /dev/null +++ b/srcpkgs/font-comic-neue-otf @@ -0,0 +1 @@ +font-comic-neue-ttf \ No newline at end of file diff --git a/srcpkgs/font-comic-neue-ttf/template b/srcpkgs/font-comic-neue-ttf/template new file mode 100644 index 0000000000000..5dbc2d28185f6 --- /dev/null +++ b/srcpkgs/font-comic-neue-ttf/template @@ -0,0 +1,36 @@ +# Template file for 'font-comic-neue-ttf' +pkgname=font-comic-neue-ttf +version=2.51 +revision=1 +depends="font-util xbps-triggers" +short_desc="Font that fixes the shortcomings of Comic Sans" +maintainer="Hunter Ellett " +license="OFL-1.1" +homepage="https://comicneue.com/" +distfiles="https://github.com/crozynski/comicneue/archive/refs/tags/${version}.tar.gz" +checksum=e889262c56f177cd7d62e5340d9011d979e46ffc4e2a7d400190f0ad6471cce9 +font_dirs="/usr/share/fonts/TTF" + +do_install() { + vmkdir usr/share/fonts/TTF + vcopy Fonts/TTF/ComicNeue/*.ttf usr/share/fonts/TTF + vcopy Fonts/TTF/ComicNeue-Angular/*.ttf usr/share/fonts/TTF + + vmkdir usr/share/fonts/OTF + vcopy Fonts/OTF/ComicNeue/*.otf usr/share/fonts/OTF + vcopy Fonts/OTF/ComicNeue-Angular/*.otf usr/share/fonts/OTF + + vlicense OFL.txt + vdoc Booklet-ComicNeue.pdf +} + +font-comic-neue-otf_package() { + depends="font-util xbps-triggers" + short_desc="Font that fixes the shortcomings of Comic Sans - OTF version" + font_dirs="/usr/share/fonts/OTF" + pkg_install() { + vmove usr/share/fonts/OTF + vlicense OFL.txt + vdoc Booklet-ComicNeue.pdf + } +}