diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2020-06-12 23:47:38 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2020-06-12 23:47:38 +0000 |
commit | 08e11f5c82c69dce2a6f9cfe4fa66a1b95fa0716 (patch) | |
tree | 1315c109797a6d303f209a7340c97e23d8a5c699 /user | |
parent | 550f410947a75340adcf60c6ed6e4bd15816c36d (diff) | |
parent | a09ba6ce5b0b2007f2d78b4975897ddc546505d1 (diff) | |
download | packages-08e11f5c82c69dce2a6f9cfe4fa66a1b95fa0716.tar.gz packages-08e11f5c82c69dce2a6f9cfe4fa66a1b95fa0716.tar.bz2 packages-08e11f5c82c69dce2a6f9cfe4fa66a1b95fa0716.tar.xz packages-08e11f5c82c69dce2a6f9cfe4fa66a1b95fa0716.zip |
Merge branch 'user/ttf-jetbrains-mono' into 'master'
user/ttf-jetbrains-mono: add JetBrainsMono font
See merge request adelie/packages!459
Diffstat (limited to 'user')
-rw-r--r-- | user/ttf-jetbrains-mono/APKBUILD | 25 |
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" |