Github messages for voidlinux
 help / color / mirror / Atom feed
From: Chocimier <Chocimier@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] How to set wrksrc with whitespace?
Date: Thu, 03 Sep 2020 21:03:35 +0200	[thread overview]
Message-ID: <20200903190335.TY-p2R8hklOSj2gNSVS86a9t1sNYdpG3cbeMOiYopJg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24477@inbox.vuxu.org>

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

Closed issue by harrisonthorne on void-packages repository

https://github.com/void-linux/void-packages/issues/24477

Description:
I've got a template in progress for this one, but with one major issue. I'm having a hard time copying the font files because the archive/distfiles have directories with spaces in them and I haven't found out yet how to circumvent this.

This is the directory structure of the zip file ([from this release](https://github.com/rsms/inter/releases/tag/v3.15)):

![Directory structure of Inter zip file](https://user-images.githubusercontent.com/33523827/91258620-05ca2d00-e72a-11ea-8ea6-929e5bc51c80.png)

We're supposed to copy the files from "Inter Desktop" into our font directories. I've tried a number of things to try and solve the whitespace-in-wrksrc problem, but no luck yet. What's the right way to go about this?

```
# Template file for 'font-inter'
pkgname=font-inter
version=3.15
revision=1
archs="noarch"
hostmakedepends=""
makedepends=""
depends="font-util"
short_desc="Typeface specially designed for user interfaces"
maintainer="Harrison Thorne <harrisonthorne@protonmail.com>"
license="OFL-1.1"
homepage="https://rsms.me/inter/"
distfiles="https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip"
checksum=1534288eb599f57acbf2c5ac0010da9495c2ee53116e08d799555c6f8ee22156
wrksrc="Inter Desktop"

font_dirs="/usr/share/fonts/Inter/"

do_install() {
    ls
    vmkdir usr/share/fonts/Inter
    vcopy * usr/share/fonts/Inter
    vlicense LICENSE # ??? added in with edit below
}
```

Edit: About the `LICENSE` file too, will `wrksrc` then have to be `.`? I'm confused about how all of this will work :P

  parent reply	other threads:[~2020-09-03 19:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-26  5:27 [ISSUE] Package request: font-inter harrisonthorne
2020-08-26  5:56 ` flexibeast
2020-08-27  5:35 ` harrisonthorne
2020-08-27  9:34 ` How to set wrksrc with whitespace? Anachron
2020-08-27  9:50 ` ericonr
2020-08-27  9:57 ` Anachron
2020-08-27 10:00 ` Anachron
2020-09-03 19:03 ` Chocimier [this message]
2020-09-03 19:04 ` Chocimier

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=20200903190335.TY-p2R8hklOSj2gNSVS86a9t1sNYdpG3cbeMOiYopJg@z \
    --to=chocimier@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).