smlinux/xorg/liberation-fonts-ttf/liberation-fonts-ttf.SMBuild
PktSurf 7d2f51bd18 Removed redundant paths in base/pkgconf
Replaced single quotes with double quotes in some base and xorg pkg files
2022-08-27 11:09:02 +05:30

27 lines
835 B
Text
Executable file

app=liberation-fonts-ttf
version=2.1.0
build=1sml
homepage="https://github.com/liberationfonts/liberation-fonts"
download="https://github.com/liberationfonts/liberation-fonts/archive/refs/tags/$version.tar.gz"
desc="Font family which aims at metric compatibility with Arial, Times New Roman, and Courier New"
requires="fontconfig mkfontscale"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
mkdir -p $pkg/share/fonts/TTF
cp -a *ttf $pkg/share/fonts/TTF/
install -Dm 644 $srcdir/60-liberation.conf $pkg/etc/fonts/conf.d/60-liberation.conf
mkfinalpkg
}
sha512sums="
aa067dfd877be8b9407879c1ef0830d7dbbdb541761acec38848305f403ce992ba7c6db97d7e648e33fce9b19c42d31ba66c02c21221c8f9f136a5d296d5e424 liberation-fonts-ttf-2.1.0.tar.lz
"