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

23 lines
709 B
Bash
Raw Normal View History

# Template file for 'ttf-ubuntu-font-family'
pkgname=ttf-ubuntu-font-family
version=0.83
revision=1
wrksrc=ubuntu-font-family-$version
noarch=yes
hostmakedepends="unzip"
depends="font-util"
font_dirs="/usr/share/fonts/TTF"
short_desc="Ubuntu font family"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="custom"
homepage="http://font.ubuntu.com/"
distfiles="http://font.ubuntu.com/download/ubuntu-font-family-${version}.zip"
checksum=456d7d42797febd0d7d4cf1b782a2e03680bb4a5ee43cc9d06bda172bac05b42
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
}