# Maintainer: only_vip pkgname=nerd-fonts-victor-mono pkgver=2.3.3 pkgrel=1 pkgdesc="A Nerd Font patched version of Victor Mono" arch=("any") url="https://www.nerdfonts.com" license=('MIT') depends=('fontconfig') provides=(${pkgname}) conflicts=(${pkgname}) # replaces=(${pkgname}) install="${pkgname}.install" source=("https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/VictorMono.zip" "https://github.com/ryanoasis/nerd-fonts/raw/v$pkgver/LICENSE") sha512sums=('e5b61c32700133805dd004f6bd30a67525096f8e89ffb661b296bd66684cd86f35b485952e36c36d81afabdab31769afe2d2e875b26943d9b47495534355151e' '54b3d670b99a1128b32e61078165ddf9823a43dd51ef4f523b58a4d5638180ee57a22d90ce76e8955f50b6b556bc0f7ee32231d6abbb95575ceef7376e61215a') package() { find . -iname "*.otf" -not -iname "*Windows Compatible.otf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/OTF/{}" \; find . -iname "*.ttf" -not -iname "*Windows Compatible.ttf" -execdir install -Dm644 {} "$pkgdir/usr/share/fonts/TTF/{}" \; install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }