smlinux/xorg/dejavu-fonts-ttf/dejavu-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

34 lines
899 B
Text
Executable file

app=dejavu-fonts-ttf
version=2.37
mversion="$(echo $version | sed 's@.@_@')"
build=1sml
homepage="http://dejavu-fonts.github.io"
download="https://github.com/dejavu-fonts/dejavu-fonts/archive/refs/tags/version_$version.tar.gz"
requires="fontconfig mkfontscale "
desc="Font family based on the Bitstream Vera Fonts with a wider range of characters"
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/
cp LICENSE $pkgdocs/
mkdir -p $pkg/etc/fonts/conf.d
( cd fontconfig
for file in * ; do
cp -a $file $pkg/etc/fonts/conf.d/
done
)
mkfinalpkg
}
sha512sums="
e37ab33fada7499a57c1a798fae0645aeb545516ae300fa39a689fc681b4a7734a92d2c003fe1c680ad961ced43db5828b8da1cc28d9b28b4559aecab61327e1 dejavu-fonts-ttf-2.37.tar.xz
"