# Maintainer: PktSurf app=ttf-indic-fonts version=0.5.14 build=1sml homepage="https://archive.ubuntu.com/ubuntu/pool/main/t/ttf-indic-fonts/" download="https://archive.ubuntu.com/ubuntu/pool/main/t/ttf-indic-fonts/ttf-indic-fonts_"$version"ubuntu1.tar.gz" desc="TTF fonts for Indic scripts" requires="fontconfig mkfontscale" 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/ mkdir -p $pkg/etc/fonts/conf.avail find . -name "*.conf" -exec cp -a {} $pkg/etc/fonts/conf.avail \; mkdir -p $pkg/etc/fonts/conf.d ( cd $pkg/etc/fonts/conf.d for file in ../conf.avail/*.conf ; do ln -sf $file . done ) find . -name "*.copyright" -exec cp -a {} $pkgdocs/ \; mkfinalpkg } sha512sums=" b0577f9e9f6a0ba03677c2815303b166bf63a93cdb354a36aa15a411c8d7feeb4fe10378bf54123979a3f238c5a6889076deba6faa4fa2e80f74368160501e21 ttf-indic-fonts-0.5.14.tar.lz "