summaryrefslogblamecommitdiff
path: root/user/ttf-jetbrains-mono/APKBUILD
blob: 54857a62aac51e1436a2b4c986831a3040fab457 (plain) (tree)
























                                                                                                                                                                      
# Contributor: Jonas Vautherin <jonas.vautherin@protonmail.ch>
# Maintainer: Jonas Vautherin <jonas.vautherin@protonmail.ch>
pkgname=ttf-jetbrains-mono
pkgver=1.0.6
pkgrel=0
pkgdesc="A typeface for developers"
url="https://www.jetbrains.com/lp/mono"
arch="noarch"
options="!check" # No test suite
license="Apache-2.0"
depends="fontconfig"
makedepends=""
source="https://github.com/JetBrains/JetBrainsMono/releases/download/v${pkgver}/JetBrainsMono-${pkgver}.zip"
builddir="$srcdir/JetBrainsMono-$pkgver"

package() {
	mkdir -p "$pkgdir"/usr/share/fonts/X11/TTF/${pkgname#*-}

	cd ttf
	for i in *.ttf; do
		install -Dm644 "$i" "$pkgdir"/usr/share/fonts/X11/TTF/${pkgname#*-}
	done
}

sha512sums="c7d980f8aa16f0773510d71c1b96bdf0d6adc73bef188a50b789517eb4c5eae98fa4feffc0d75f504a31b913d5531f03a709cb87584171f37af662e3c88e4561  JetBrainsMono-1.0.6.zip"