# Maintainer: slimymars # Contributor: LaFr4nc3 pkgname=ttf-hackgen pkgver=2.3.5 pkgrel=1 pkgdesc="HackGen is a composite font of Hack and GenJyuu-Gothic." arch=("any") url="https://github.com/yuru7/HackGen" license=("custom") source=("https://github.com/yuru7/HackGen/releases/download/v${pkgver}/HackGen_v${pkgver}.zip" "https://github.com/yuru7/HackGen/releases/download/v${pkgver}/HackGenNerd_v${pkgver}.zip" "https://raw.githubusercontent.com/yuru7/HackGen/v${pkgver}/LICENSE.txt") sha256sums=('67ac092c666f55a36333ac1c9820569f6ae518894d5546c4968540b03d81ffcc' '55370c08d4d528b57a52024efee835dfe337169c7e5f20089cf4e596aa9a3525' '8ac2fc3472cd8c8c988bbd047a9739f528f614a3e61ff0925e26d2e76e53301d') package() { install -d ${pkgdir}/usr/share/fonts/TTF install -m644 HackGen_v${pkgver}/*.ttf ${pkgdir}/usr/share/fonts/TTF/ install -m644 HackGenNerd_v${pkgver}/*.ttf ${pkgdir}/usr/share/fonts/TTF/ cd ${srcdir} install -D -m644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt }