# Maintainer: Deposite Pirate # # Upstream: https://git.metalpunks.info/arch-ports pkgbase=comic-neue pkgname=(ttf-comic-neue otf-comic-neue) pkgver=2.51 pkgrel=1 pkgdesc='Comic Neue is an extended replacement for the Comic Sans MS font' arch=('any') url='http://comicneue.com' license=('custom:OFL') source=("${url}/${pkgbase}-${pkgver}.zip" 'fontconfig.conf') sha256sums=('54dd998c93b8d6658b1c2d6ade9f790d10ffaa3632868dd2cfac84b405290321' 'c30876b732eaf4b6491642a53651b31259ba36308c4e668b1e37ad2c8ad86088') package_ttf-comic-neue() { pkgdesc='An extended replacement for Comic Sans MS (TTF format)' conflict=('otf-comic-neue') cd "${pkgbase}-${pkgver}" install -Dm755 "${pkgdir}/usr/share/fonts/TTF" install -m644 TTF/Comic{Neue,Neue-Angular}/*.ttf \ "${pkgdir}/usr/share/fonts/TTF" install -Dm644 OFL.txt \ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 ../fontconfig.conf \ "${pkgdir}/usr/share/fontconfig/conf.avail/75-${pkgname}.conf" } package_otf-comic-neue() { pkgdesc='An extended replacement for Comic Sans MS (OTF format)' conflict='ttf-comic-neue' cd "${pkgbase}-${pkgver}" install -Dm755 "${pkgdir}/usr/share/fonts/OTF" install -m644 OTF/Comic{Neue,Neue-Angular}/*.otf \ "${pkgdir}/usr/share/fonts/OTF" install -Dm644 OFL.txt \ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 ../fontconfig.conf \ "${pkgdir}/usr/share/fontconfig/conf.avail/75-${pkgname}.conf" }