Package Details: ttf-maple 6.4-1

Git Clone URL: https://aur.archlinux.org/ttf-maple.git (read-only, click to copy)
Package Base: ttf-maple
Description: Open source monospace/Nerd Font font with round corner for IDE and command line
Upstream URL: https://github.com/subframe7536/maple-font
Licenses: OFL
Submitter: yuandi42
Maintainer: yuandi42
Last Packager: yuandi42
Votes: 5
Popularity: 0.23
First Submitted: 2022-08-25 16:48 (UTC)
Last Updated: 2023-07-29 15:56 (UTC)

Latest Comments

FabioLolix commented on 2023-02-25 15:50 (UTC)

Thanks for reminding to use a pastebin service, I completely forgot about that

yuandi42 commented on 2023-02-25 15:23 (UTC)

@FabioLolix : Thx for your patch! It has been applied. And it would be nicer if you sent the patch through a pastebin service following ArchWiki.

FabioLolix commented on 2023-02-25 14:30 (UTC)

Hello,

  • Please use sha256sum or higher
  • provides=(ttf-maple) is not needed
  • Please rename sources to be unique and non-conflicts, especially for who is using a common source destination (SRCDEST= in makepkg.conf)
source=("$pkgname-$pkgver-MapleMono.zip::https://github.com/subframe7536/Maple-font/releases/download/v$pkgver/MapleMono.zip"
        "$pkgname-$pkgver-MapleMono-NF.zip::https://github.com/subframe7536/Maple-font/releases/download/v$pkgver/MapleMono-NF.zip"
        "$pkgname-$pkgver-MapleMono-SC-NF.zip::https://github.com/subframe7536/Maple-font/releases/download/v$pkgver/MapleMono-SC-NF.zip"
        "$pkgname-LICENSE::https://raw.githubusercontent.com/subframe7536/Maple-font/v6.0/OFL.txt")

Patch:

From b2403bea47eb84dc7a1fd93bb2936d443d9906da Mon Sep 17 00:00:00 2001
From: FabioLolix <fabio.loli@disroot.org>
Date: Sat, 25 Feb 2023 15:29:32 +0100
Subject: [PATCH] revision

---
 PKGBUILD | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index dbd5f4c..b53c23b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,19 +7,18 @@ pkgdesc="Open source monospace/Nerd Font font with round corner for IDE and comm
 arch=("any")
 url="https://gitee.com/subframe7536/Maple/"
 license=("OFL")
-provides=("ttf-maple")
-source=("https://github.com/subframe7536/Maple-font/releases/download/v$pkgver/MapleMono.zip"
-        "https://github.com/subframe7536/Maple-font/releases/download/v$pkgver/MapleMono-NF.zip"
-        "https://github.com/subframe7536/Maple-font/releases/download/v$pkgver/MapleMono-SC-NF.zip"
-        "LICENSE::https://raw.githubusercontent.com/subframe7536/Maple-font/v6.0/OFL.txt")
-sha1sums=("2b635c45bf25cd590bd288e18edff6b45789051a"
-          "f0b44a1827c875776a96d53b2aef0dd0e4037696"
-          "f7839810fb73acfce6595318ed83fbbc49969339"
-          "SKIP")
+source=("$pkgname-$pkgver-MapleMono.zip::https://github.com/subframe7536/Maple-font/releases/download/v$pkgver/MapleMono.zip"
+        "$pkgname-$pkgver-MapleMono-NF.zip::https://github.com/subframe7536/Maple-font/releases/download/v$pkgver/MapleMono-NF.zip"
+        "$pkgname-$pkgver-MapleMono-SC-NF.zip::https://github.com/subframe7536/Maple-font/releases/download/v$pkgver/MapleMono-SC-NF.zip"
+        "$pkgname-LICENSE::https://raw.githubusercontent.com/subframe7536/Maple-font/v6.0/OFL.txt")
+sha256sums=('2a11b48104671c5be9a3175cc924846160ed3a01b8c489bc5f451af68d5a193c'
+            '3afe8011a2f2f34730ac5b6629651c788f34f52c01947b107f617cebfb1cffa0'
+            '6dbeb6606cdd13daaf972b991bb608d7a80ec560be0228e544b63c113faae518'
+            'cdb01cb2c0ac2d618ad3fc082275cf3cbe6145a58d558709ec083ce69c702cf0')

 package() {
     install -d "${pkgdir}/usr/share/fonts/$pkgname"
     install -d "${pkgdir}/usr/share/licenses/$pkgname/"
     install -Dm0644 "$srcdir/"*/"MapleMono-"*.ttf "${pkgdir}/usr/share/fonts/$pkgname/"
-    install -Dm0644 "LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/"
+    install -Dm0644 "$pkgname-LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/"
 }
-- 
2.39.2

yuandi42 commented on 2023-02-25 14:02 (UTC)

@dreieck sha1check passed correctly on my machine. Maybe you just downloaded broken .zip files due to network error. Is there any info further?

Try to delete the repo for a re-git and re-installation. If that didn't work, then I could only suggest you to edit the PKGBUILD file yourself, i.e., change those sha1sum to 'SKIP'.

Sorry for no more good advice.

dreieck commented on 2023-02-25 13:34 (UTC)

Source file checksum verification fails:

==> Validating source files with sha1sums...
    MapleMono.zip ... FAILED
    MapleMono-NF.zip ... FAILED
    MapleMono-SC-NF.zip ... FAILED
    LICENSE ... Skipped
==> ERROR: One or more files did not pass the validity check!

Thanks for maintaining.

Regards!