Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: New package: khmer-fonts-ttf-5.0
Date: Sat, 29 Jun 2019 20:36:15 +0200	[thread overview]
Message-ID: <20190629183615.ftbtTibsGNxxWG5bv6xeHd7vyGqoOklsoQA3IbyNCcI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12714@inbox.vuxu.org>

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

New comment by pullmoll on void-packages repository

https://github.com/void-linux/void-packages/pull/12714#issuecomment-506977909
Comment:
@zdtcd you need to set workdir to the name of the path contained in the zip. Here's a working template:
```
# Template file for 'khmer-fonts-ttf'
pkgname=khmer-fonts-ttf
version=5.0
revision=1
archs=noarch
wrksrc="All_KhmerOS_${version}"
hostmakedepends="unzip"
depends="font-util"
short_desc="Fonts for Khmer and Latin script"
maintainer="Doan Tran Cong Danh <congdanhqx@gmail.com>"
license="LGPL-2.1-or-later"
homepage="http://www.khmeros.info/?q=en/fonts"
distfiles="${SOURCEFORGE_SITE}/khmer/Fonts%20-%20KhmerOS/KhmerOS%20Fonts%20${version}-%20LGPL%20Licence/All_
KhmerOS_${version}.zip"
checksum=62fec2273016fb6e69b18635e696fd2c91953af9cbe757b341721aec2232432e
font_dirs="/usr/share/fonts/TTF"

do_install() {
        for f in ./*.ttf; do
                vinstall "$f" 644 usr/share/fonts/TTF
        done
}
```

BTW one of the fonts is `KhmerOS .ttf` - note the blank between the name a the `.ttf`.

  parent reply	other threads:[~2019-06-29 18:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-27  5:15 [PR PATCH] " voidlinux-github
2019-06-29  6:55 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-29  6:55 ` voidlinux-github
2019-06-29  8:07 ` voidlinux-github
2019-06-29 17:04 ` voidlinux-github
2019-06-29 17:07 ` voidlinux-github
2019-06-29 18:32 ` voidlinux-github
2019-06-29 18:32 ` voidlinux-github
2019-06-29 18:35 ` voidlinux-github
2019-06-29 18:36 ` voidlinux-github [this message]
2019-06-30  1:26 ` voidlinux-github
2019-06-30  1:30 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-30  1:30 ` voidlinux-github
2019-06-30 13:16 ` voidlinux-github
2019-06-30 13:17 ` [PR PATCH] [Merged]: " voidlinux-github

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=20190629183615.ftbtTibsGNxxWG5bv6xeHd7vyGqoOklsoQA3IbyNCcI@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).