# Maintainer: PktSurf 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" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { mkdir -p $pkg/usr/share/fonts/TTF cp -a ttf/* $pkg/usr/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=" ab17cc07ffe4ae7e6e04706826bd8dc83983071d5ec20a40ad9dc5bafbb1d0f73d9f33928dc07a948dfa8c5bc4b61e52c24cbc1530f95e909e7071d4e8a89bf9 dejavu-fonts-ttf-2.37.tar.lz "