void-packages/srcpkgs/font-manjari/template
aktsbot 2bc27544cb 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.

Closes: #23959 [via git-merge-pr]
2020-08-01 07:52:52 -04:00

27 lines
872 B
Bash

# Template file for 'font-manjari'
pkgname=font-manjari
version=1.810
revision=3
archs="noarch"
create_wrksrc=yes
depends="font-util"
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://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="d90ca754850a2084f8435f3a885c52f200b08a4da5018f9a8291093a2c70c162
94e69dddcfc87af561cad830b6afeb0d858634ae8aa649f8381891873fd6f591"
font_dirs="/usr/share/fonts/TTF"
do_install() {
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
}