void-packages/srcpkgs/ttf-ubuntu-font-family/template

23 lines
726 B
Bash

# Template file for 'ttf-ubuntu-font-family'
pkgname=ttf-ubuntu-font-family
version=0.83
revision=2
archs=noarch
wrksrc="ubuntu-font-family-${version}"
hostmakedepends="unzip"
depends="font-util"
short_desc="Ubuntu font family"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="custom"
homepage="https://design.ubuntu.com/font/"
distfiles="https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-${version}.zip"
checksum=456d7d42797febd0d7d4cf1b782a2e03680bb4a5ee43cc9d06bda172bac05b42
font_dirs="/usr/share/fonts/TTF"
do_install() {
vmkdir usr/share/fonts/TTF
install -m644 Ubuntu-{L,R,B,C}*.ttf ${DESTDIR}/usr/share/fonts/TTF
install -m644 UbuntuMono-*.ttf ${DESTDIR}/usr/share/fonts/TTF
vlicense LICENCE.txt
}