29 lines
1,015 B
Bash
29 lines
1,015 B
Bash
# Template file for 'liberation-fonts-ttf'
|
|
pkgname=liberation-fonts-ttf
|
|
version=2.00.5
|
|
revision=1
|
|
archs=noarch
|
|
makedepends="font-util xbps-triggers"
|
|
depends="${makedepends}"
|
|
short_desc="TrueType fonts from RedHat"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="OFL-1.1"
|
|
homepage="https://github.com/liberationfonts/liberation-fonts"
|
|
distfiles="https://github.com/liberationfonts/liberation-fonts/files/2926169/liberation-fonts-ttf-${version}.tar.gz"
|
|
checksum=f14ff0a0be87b5aeb672e669363b5a699db76feb1144b06798261c0fdcd2b24d
|
|
font_dirs="/usr/share/fonts/TTF"
|
|
|
|
do_install() {
|
|
vmkdir usr/share/fonts/TTF
|
|
install -m644 *.ttf ${DESTDIR}/usr/share/fonts/TTF
|
|
|
|
# install fontconfig files
|
|
vinstall ${FILESDIR}/30-0-liberation-mono.conf 644 \
|
|
etc/fonts/conf.avail 30-${pkgname}-mono.conf
|
|
vinstall ${FILESDIR}/30-0-liberation-sans.conf 644 \
|
|
etc/fonts/conf.avail 30-${pkgname}-sans.conf
|
|
vinstall ${FILESDIR}/30-0-liberation-serif.conf 644 \
|
|
etc/fonts/conf.avail 30-${pkgname}-serif.conf
|
|
|
|
vlicense LICENSE
|
|
}
|