29 lines
974 B
Bash
29 lines
974 B
Bash
# Template file for 'liberation-fonts-ttf'
|
|
pkgname=liberation-fonts-ttf
|
|
version=2.00.1
|
|
revision=2
|
|
noarch=yes
|
|
makedepends="font-util xbps-triggers"
|
|
depends="${makedepends}"
|
|
short_desc="TrueType fonts from RedHat"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="OFL-1.1"
|
|
homepage="https://pagure.io/liberation-fonts"
|
|
distfiles="https://releases.pagure.org/liberation-fonts/liberation-fonts-ttf-${version}.tar.gz"
|
|
checksum=7890278a6cd17873c57d9cd785c2d230d9abdea837e96516019c5885dd271504
|
|
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
|
|
}
|