mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 19:43:50 +02:00
parent
a56cfabe55
commit
60aaaa2f7c
2 changed files with 9 additions and 30 deletions
|
@ -1,17 +0,0 @@
|
||||||
# Template file for 'font-liberation-ttf'
|
|
||||||
pkgname=font-liberation-ttf
|
|
||||||
version=2.1.5
|
|
||||||
revision=1
|
|
||||||
depends="font-util"
|
|
||||||
short_desc="Fonts with same metrics as Times, Arial and Courier"
|
|
||||||
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
||||||
license="GPL-3.0-or-later"
|
|
||||||
homepage="https://github.com/liberationfonts/liberation-fonts"
|
|
||||||
distfiles="https://github.com/liberationfonts/liberation-fonts/files/7261482/liberation-fonts-ttf-${version}.tar.gz"
|
|
||||||
checksum=7191c669bf38899f73a2094ed00f7b800553364f90e2637010a69c0e268f25d0
|
|
||||||
font_dirs="/usr/share/fonts/TTF/liberation"
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vmkdir usr/share/fonts/TTF/liberation
|
|
||||||
vcopy "*.ttf" usr/share/fonts/TTF/liberation
|
|
||||||
}
|
|
|
@ -1,26 +1,22 @@
|
||||||
# Template file for 'liberation-fonts-ttf'
|
# Template file for 'liberation-fonts-ttf'
|
||||||
pkgname=liberation-fonts-ttf
|
pkgname=liberation-fonts-ttf
|
||||||
version=2.1.5
|
version=2.1.5
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
|
||||||
hostmakedepends="fontforge fonttools"
|
|
||||||
depends="font-util"
|
depends="font-util"
|
||||||
short_desc="TrueType fonts from RedHat"
|
short_desc="Fonts from RedHat with same metrics as Times, Arial and Courier"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="OFL-1.1"
|
license="OFL-1.1"
|
||||||
homepage="https://github.com/liberationfonts/liberation-fonts"
|
homepage="https://github.com/liberationfonts/liberation-fonts"
|
||||||
changelog="https://raw.githubusercontent.com/liberationfonts/liberation-fonts/devel/ChangeLog"
|
changelog="https://raw.githubusercontent.com/liberationfonts/liberation-fonts/devel/ChangeLog"
|
||||||
distfiles="https://github.com/liberationfonts/liberation-fonts/archive/${version}.tar.gz"
|
distfiles="https://github.com/liberationfonts/liberation-fonts/files/7261482/liberation-fonts-ttf-${version}.tar.gz"
|
||||||
checksum=9a823ccb33c8a8a865e84b982bcdc44d03ba4914adb91e6000df035dc0e55936
|
checksum=7191c669bf38899f73a2094ed00f7b800553364f90e2637010a69c0e268f25d0
|
||||||
font_dirs="/usr/share/fonts/TTF"
|
font_dirs="/usr/share/fonts/TTF/liberation"
|
||||||
|
provides="font-liberation-ttf-${version}_${revision}"
|
||||||
pre_build() {
|
replaces="font-liberation-ttf>=0"
|
||||||
make versionupdate
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/share/fonts/TTF
|
vmkdir usr/share/fonts/TTF/liberation
|
||||||
install -m644 ${pkgname}-${version}/*.ttf ${DESTDIR}/usr/share/fonts/TTF
|
vcopy "*.ttf" usr/share/fonts/TTF/liberation
|
||||||
|
|
||||||
# install fontconfig files
|
# install fontconfig files
|
||||||
vinstall ${FILESDIR}/30-0-liberation-mono.conf 644 \
|
vinstall ${FILESDIR}/30-0-liberation-mono.conf 644 \
|
||||||
|
|
Loading…
Add table
Reference in a new issue