Github messages for voidlinux
 help / color / mirror / Atom feed
From: aktsbot <aktsbot@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] font-manjari: got versioned release urls for archive from upstream
Date: Thu, 30 Jul 2020 18:18:32 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23959@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

There is a new pull request by aktsbot against master on the void-packages repository

https://github.com/aktsbot/void-packages font-manjari-rel-url
https://github.com/void-linux/void-packages/pull/23959

font-manjari: got versioned release urls for archive from upstream
previous version of the package used an unversioned link from upstream,
that had frequent updates, which would break sha256sum check.

A patch file from https://github.com/void-linux/void-packages/pull/23959.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-font-manjari-rel-url-23959.patch --]
[-- Type: text/x-diff, Size: 1764 bytes --]

From e5432ee1687d1311750d54fc0d2d76a96d045776 Mon Sep 17 00:00:00 2001
From: aktsbot <box.ashishk@gmail.com>
Date: Thu, 30 Jul 2020 21:41:14 +0530
Subject: [PATCH] font-manjari: got versioned release urls for archive from
 upstream

previous version of the package used an unversioned link from upstream,
that had frequent updates, which would break sha256sum check.
---
 srcpkgs/font-manjari/template | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/font-manjari/template b/srcpkgs/font-manjari/template
index 395dec5105a..459d5de5210 100644
--- a/srcpkgs/font-manjari/template
+++ b/srcpkgs/font-manjari/template
@@ -1,7 +1,7 @@
 # Template file for 'font-manjari'
 pkgname=font-manjari
 version=1.810
-revision=2
+revision=3
 archs="noarch"
 create_wrksrc=yes
 depends="font-util"
@@ -9,15 +9,19 @@ short_desc="Malayalam font with smooth curves"
 maintainer="Ashish Kurian Thomas <a@aktsbot.in>"
 license="OFL-1.1"
 homepage="https://smc.org.in/fonts/manjari"
-distfiles="https://smc.org.in/downloads//fonts/manjari/manjari.zip
+distfiles="https://releases.smc.org.in/fonts/manjari/Version${version}/manjari-Version${version}.tar.gz
  https://gitlab.com/smc/fonts/manjari/-/raw/Version${version}/LICENSE.txt"
-checksum="ade6ba3006c0cbd01d90084d9a5119a22db996a603bf82b68d94fdcfed750cf2
+checksum="d90ca754850a2084f8435f3a885c52f200b08a4da5018f9a8291093a2c70c162
  94e69dddcfc87af561cad830b6afeb0d858634ae8aa649f8381891873fd6f591"
 font_dirs="/usr/share/fonts/TTF"
 
 do_install() {
-	for f in *.ttf; do
+	for f in ttf/*.ttf; do
 		vinstall $f 0644 usr/share/fonts/TTF
 	done
+
+	# install fontconfig file
+	vinstall 67-fonts-smc-manjari.conf 0644 etc/fonts/conf.avail/67-fonts-smc-manjari.conf
+
 	vlicense LICENSE.txt
 }

                 reply	other threads:[~2020-07-30 16:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23959@inbox.vuxu.org \
    --to=aktsbot@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).