summaryrefslogtreecommitdiff
path: root/user/ttf-jetbrains-mono/APKBUILD
diff options
context:
space:
mode:
authorJonas Vautherin <jonas.vautherin@gmail.com>2020-06-07 22:20:28 +0000
committerJonas Vautherin <jonas.vautherin@gmail.com>2020-06-07 22:36:54 +0000
commita09ba6ce5b0b2007f2d78b4975897ddc546505d1 (patch)
tree8bbb83d12071198b94a4452db29cf6a80e0e6be3 /user/ttf-jetbrains-mono/APKBUILD
parentbe87f4ccc042f1b8a9db033ff5f52692b3138bc2 (diff)
downloadpackages-a09ba6ce5b0b2007f2d78b4975897ddc546505d1.tar.gz
packages-a09ba6ce5b0b2007f2d78b4975897ddc546505d1.tar.bz2
packages-a09ba6ce5b0b2007f2d78b4975897ddc546505d1.tar.xz
packages-a09ba6ce5b0b2007f2d78b4975897ddc546505d1.zip
user/ttf-jetbrains-mono: add JetBrainsMono font
Diffstat (limited to 'user/ttf-jetbrains-mono/APKBUILD')
-rw-r--r--user/ttf-jetbrains-mono/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/ttf-jetbrains-mono/APKBUILD b/user/ttf-jetbrains-mono/APKBUILD
new file mode 100644
index 000000000..54857a62a
--- /dev/null
+++ b/user/ttf-jetbrains-mono/APKBUILD
@@ -0,0 +1,25 @@
+# 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"