makedeb
A Nerd Font patched version of JetBrains Mono
Viewing /PKGBUILD
.
Click here to go back to the Git tree for nerd-fonts-jetbrains-mono.
# Maintainer: only_vip <onlyme_vip@protonmail.com>
pkgname=nerd-fonts-jetbrains-mono
_name=JetBrainsMono
pkgver=2.3.3
pkgrel=1
pkgdesc="A Nerd Font patched version of JetBrains Mono"
arch=('any')
url="https://www.nerdfonts.com"
license=('MIT')
makedepends=('fontconfig')
provides=(${pkgname})
conflicts=(${pkgname})
# replaces=(${pkgname})
install="${pkgname}.install"
source=("${_name}-${pkgver}.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v${pkgver}/${_name}.zip"
"https://github.com/ryanoasis/nerd-fonts/raw/v$pkgver/LICENSE"
)
sha512sums=('656678d68175c8e7532c4766b01cc0b28171decef3937d284f8d018e7072416f640fc2d5dfce9c5db698d59effd8844c715cab4fb978216c4330d6a9bc1f45e3'
'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"
}