# Maintainer: txtsd # Maintainer: Martin C. Doege # Contributor: nl6720 # Contributor: David McInnis # Contributor: megadriver pkgname=ttf-unifont pkgver=15.1.02 pkgrel=1 pkgdesc="TrueType version of the GNU Unifont" url="https://unifoundry.com/unifont.html" arch=('any') license=('GPL') makedepends=('fontforge') source=("https://unifoundry.com/pub/unifont/unifont-${pkgver}/unifont-${pkgver}.tar.gz"{,.sig}) sha256sums=('7631dbfb21614ca25a0f15ef74b60a50abda1798376bc36cbb7ea53c25ff123a' 'SKIP') validpgpkeys=('95D2E9AB8740D8046387FD151A09227B1F435A33') # Paul Hardy build() { cd "${srcdir}/unifont-${pkgver}/font" # Instead of setting `MAKEFLAGS=-j1`, make the dependency first make hex make truetype } package() { cd "${srcdir}" install -d "${pkgdir}/usr/share/fonts/Unifont/" install -m644 "unifont-${pkgver}/font/compiled/unifont-${pkgver}.ttf" "${pkgdir}/usr/share/fonts/Unifont/Unifont.ttf" install -m644 "unifont-${pkgver}/font/compiled/unifont_jp-${pkgver}.ttf" "${pkgdir}/usr/share/fonts/Unifont/Unifont_jp.ttf" install -m644 "unifont-${pkgver}/font/compiled/unifont_upper-${pkgver}.ttf" "${pkgdir}/usr/share/fonts/Unifont/Unifont_Upper.ttf" install -m644 "unifont-${pkgver}/font/compiled/unifont_csur-${pkgver}.ttf" "${pkgdir}/usr/share/fonts/Unifont/Unifont_CSUR.ttf" }