From b6659b3e590604c75212ea5941d5fccbc2981bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Sun, 22 Dec 2024 19:41:34 +0100 Subject: [PATCH] ttf-maple-beta: 7.0_beta32 --- srcpkgs/ttf-maple-beta/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/ttf-maple-beta/template diff --git a/srcpkgs/ttf-maple-beta/template b/srcpkgs/ttf-maple-beta/template new file mode 100644 index 0000000..7415f48 --- /dev/null +++ b/srcpkgs/ttf-maple-beta/template @@ -0,0 +1,25 @@ +# Template file for 'ttf-maple-beta' +pkgname=ttf-maple-beta +version=7.0 +pkgver="7.0_beta32" +revision=1 +short_desc="Open source monospace font with round corner, ligatures and Nerd-Font for IDE and command line" +maintainer="Jozef Steinhübl " +license="OFL" +homepage="https://github.com/subframe7536/maple-font" +distfiles=("$homepage/releases/download/v${pkgver//_/-}/MapleMono-TTF.zip>$pkgname-${pkgver//_/-}-MapleMono-TTF.zip" + "$homepage/releases/download/v${pkgver//_/-}/MapleMono-NF.zip>$pkgname-${pkgver//_/-}-MapleMono-NF.zip" + "$homepage/releases/download/v${pkgver//_/-}/MapleMono-NF-CN.zip>$pkgname-${pkgver//_/-}-MapleMono-NF-CN.zip" + "https://raw.githubusercontent.com/subframe7536/maple-font/main/OFL.txt>$pkgname-LICENSE") +checksum=("b37ca84c71b08d91ff7b9a2fdc42a61d5507efaec6ead2e864230c15ac20a335" + "afbf26ceedee6c5dd1f6de7af7885451e133ebb14a8f2ac7ae8fa2c459b03d37" + "8db50b4756932ae1012f15bdc5898fe8cb889b111fffa667c720f66abf09f56a" + "cdb01cb2c0ac2d618ad3fc082275cf3cbe6145a58d558709ec083ce69c702cf0") + +do_install() { + vmkdir "usr/share/fonts/${pkgname}" + vmkdir "usr/share/licenses/${pkgname}" + + vcopy "LICENSE.txt" "usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 "MapleMono-"*".ttf" "${DESTDIR}/usr/share/fonts/$pkgname/" +}