# Maintainer: Shohei Maruyama pkgname=ttf-plemoljp pkgver=1.7.1 pkgrel=1 pkgdesc='Plex Mono Language JP' arch=('any') url='https://github.com/yuru7/PlemolJP' license=('custom:OFL') provides=('ttf-font') makedepends=('fontforge' 'python-fonttools' 'python-ttfautohint-py' 'python-setuptools') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/yuru7/PlemolJP/archive/refs/tags/v${pkgver}.tar.gz") sha256sums=('31faac3c7e21272f4e97cf8050134003aaf27635574d22ea9953a3c9e7944d03') build() { cd "PlemolJP-${pkgver}" ./make.sh } package() { cd "PlemolJP-${pkgver}" find build -type f -name '*.ttf' -exec install -Dm644 {} -t "${pkgdir}/usr/share/fonts/PlemolJP" \; install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" }