| # Maintainer: Konstantin Podsvirov <konstantin@podsvirov.pro> |
| |
| _basename=cm-unicode |
| _realname=ttf-${_basename} |
| pkgbase=mingw-w64-${_realname} |
| pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") |
| pkgver=0.7.0 |
| pkgrel=2 |
| pkgdesc="Computer Modern Unicode ttf fonts (mingw-w64)" |
| arch=('any') |
| mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') |
| url="http://canopus.iacp.dvo.ru/~panov/cm-unicode/" |
| license=('custom:OFL1.1') |
| depends=("${MINGW_PACKAGE_PREFIX}-fontconfig") |
| source=("${_basename}-${pkgver}-ttf.tar.xz::http://downloads.sourceforge.net/project/${_basename}/${_basename}/${pkgver}/${_basename}-${pkgver}-ttf.tar.xz") |
| sha256sums=('2609c14450f42d0bcd40203900afcb1d693521a9b24a18c65e14b6b0585ff150') |
| |
| package() { |
| cd "${srcdir}/${_basename}-${pkgver}" |
| mkdir -p "${pkgdir}${MINGW_PREFIX}/share/fonts/TTF" |
| mkdir -p "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}" |
| cp -r *.ttf "${pkgdir}${MINGW_PREFIX}/share/fonts/TTF/" |
| cp -r OFL*.txt "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/" |
| } |
| |
| # vim:set ts=2 sw=2 et: |