diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-02 19:45:08 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-02 20:58:03 +0100 |
commit | bb9158e5af9f065537e752b9c1b499f8ceffaf0c (patch) | |
tree | 258f2c6df1fcf3795edae1e554c43794ff3dfd17 /community/nerd-fonts/APKBUILD | |
parent | afdcddc6efa745edd061b427f513230f7a0013f6 (diff) | |
download | aports-bb9158e5af9f065537e752b9c1b499f8ceffaf0c.tar.bz2 aports-bb9158e5af9f065537e752b9c1b499f8ceffaf0c.tar.xz |
community/nerd-fonts: Add a bunch of fonts.
- Hack
- Hasklig
- Anonymous Pro (Anonymice)
- Share Tech Mono (Shure Tech Mono)
- Space Mono
- Go Mono
- Iosevka
- JetBrains Mono
Diffstat (limited to 'community/nerd-fonts/APKBUILD')
-rw-r--r-- | community/nerd-fonts/APKBUILD | 80 |
1 files changed, 76 insertions, 4 deletions
diff --git a/community/nerd-fonts/APKBUILD b/community/nerd-fonts/APKBUILD index 6386fd3ff7..a8b27325d8 100644 --- a/community/nerd-fonts/APKBUILD +++ b/community/nerd-fonts/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Leo <thinkabit.ukim@gmail.com> pkgname=nerd-fonts pkgver=2.1.0 -pkgrel=2 +pkgrel=3 pkgdesc="Iconic font aggregator, collection and patcher" url="https://nerdfonts.com" arch="noarch" @@ -19,6 +19,14 @@ subpackages=" font-source-code-pro-nerd:source_code:noarch font-cascadia-code-nerd:cascadia:noarch font-tinos-nerd:tinos:noarch + font-hack-nerd:hack:noarch + font-hasklig-nerd:hasklig:noarch + font-anonymous-pro-nerd:anonymous:noarch + font-share-tech-mono-nerd:share_tech:noarch + font-space-mono-nerd:space:noarch + font-go-mono-nerd:go:noarch + font-iosevka-nerd:iosevka:noarch + font-jetbrains-mono-nerd:jetbrains:noarch " source=" Hermit-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Hermit.zip @@ -33,6 +41,14 @@ source=" source-code-pro-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/SourceCodePro.zip cascadia-code-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/CascadiaCode.zip tinos-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Tinos.zip + hack-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Hack.zip + hasklig-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Hasklig.zip + anonymous-pro-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/AnonymousPro.zip + share-tech-mono-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/ShareTechMono.zip + space-mono-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/SpaceMono.zip + go-mono-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Go-Mono.zip + iosevka-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/Iosevka.zip + jetbrains-mono-$pkgver.zip::https://github.com/ryanoasis/nerd-fonts/releases/download/v$pkgver/JetBrainsMono.zip " builddir="$srcdir" @@ -45,7 +61,7 @@ package() { _install_font_otf() { find "$srcdir" -iname "$1*otf" | while read -r otf; do - echo "${otf##*/}" | grep -Eq '(Windows Compatible|Mono).otf' && continue + echo "${otf##*/}" | grep -q 'Windows Compatible.otf' && continue echo "${otf##*/}" install -Dm644 "$otf" -t "$subpkgdir"/usr/share/fonts/OTF done @@ -53,7 +69,7 @@ _install_font_otf() { _install_font_ttf() { find "$srcdir" -iname "$1*ttf" | while read -r ttf; do - echo "${ttf##*/}" | grep -Eq '(Windows Compatible|Mono).ttf' && continue + echo "${ttf##*/}" | grep -Fq 'Windows Compatible.ttf' && continue echo "${ttf##*/}" install -Dm644 "$ttf" -t "$subpkgdir"/usr/share/fonts/TTF done @@ -127,6 +143,54 @@ tinos() { _install_font_ttf Tinos } +hack() { + depends="fontconfig" + pkgdesc="$pkgdesc (Hack)" + _install_font_ttf Hack +} + +hasklig() { + depends="fontconfig" + pkgdesc="$pkgdesc (Hasklig)" + _install_font_otf Hasklug +} + +anonymous() { + depends="fontconfig" + pkgdesc="$pkgdesc (Anonymous Pro)" + _install_font_ttf Anonymice +} + +share_tech() { + depends="fontconfig" + pkgdesc="$pkgdesc (Share Tech Mono)" + _install_font_ttf 'Shure Tech Mono' +} + +space() { + depends="fontconfig" + pkgdesc="$pkgdesc (Space Mono)" + _install_font_ttf Space +} + +go() { + depends="fontconfig" + pkgdesc="$pkgdesc (Go Mono)" + _install_font_ttf 'Go Mono' +} + +iosevka() { + depends="fontconfig" + pkgdesc="$pkgdesc (Iosevka)" + _install_font_ttf Iosevka +} + +jetbrains() { + depends="fontconfig" + pkgdesc="$pkgdesc (JetBrains Mono)" + _install_font_ttf 'JetBrains Mono' +} + sha512sums="caf9026646ea1756c0c3d4f5ef08b2329ce10f6bfeefd7a4c7cfba1ac16c85e08103cd05fe4ba9c34fc6f35bb1a5a8830053dc5f90f153410fec12ef134bf84a Hermit-2.1.0.zip 6fc219e954295fe4cc1a778141aa464f2b08d73def4c3428e875502d7c1cce1f2d5a4f178a83641e1e4b5d5c45eb406f11ab7858723894dd0bf4ec5e08775adf ia-Writer-2.1.0.zip 9189ac650b258528f51fa83d5bdd0c8f165c969d00b5a82ccdaf824684de188c8db10f92eb125591351aefcf1012cf198a07c643b3b8a3a7c2c8074e143cc926 terminus-2.1.0.zip @@ -138,4 +202,12 @@ ae939dff1d3854c7945f21b520e8cd8b5fa143f861e5911be492d1cad14a9cfc07e77ce2314af093 c947c27766fd5f4725792d5745cc405b268f9c326da260c97af80ee729443ff39ad9a97fc4f122143ab2306fddedd5e8b55c13e4b3d90d3f65bf4d8559742dc1 arimo-2.1.0.zip 550884cd0b4ac89e3a63434f636548e468a68763eeebb378ce3ab23971ae68bf3d3bd825cdc2634340da05e1b3712a3220c6cf875c36d946430add216cbfe709 source-code-pro-2.1.0.zip 43422e7b075a8ae2d9eb77c5bf05cb26c590a1ac288731bdfb84dd1619038a0dd011546f1bcea7c436bc50d25a0a87cb7158c50eb37ed856bfa8757409b9259a cascadia-code-2.1.0.zip -9ffa9b3689eddf5f2f22ac36018d0ac7c7cf26ffbc31b6865d7f316dd25f345480425cfc5488e5ac0866b7db5ead727dbf28a711b89c4af04d5a2d05a5bf3550 tinos-2.1.0.zip" +9ffa9b3689eddf5f2f22ac36018d0ac7c7cf26ffbc31b6865d7f316dd25f345480425cfc5488e5ac0866b7db5ead727dbf28a711b89c4af04d5a2d05a5bf3550 tinos-2.1.0.zip +fa545a32df4a94ba760378835d3b1d819a099d938a8dbfdc02d7712653a62893c7c1d67cd465ae96f2d8fe0b6094b5134c7342325e776709ac44749baef562e5 hack-2.1.0.zip +42e28b895795b3d1045265e6a9ea910103c2ad1f2ce88fdc21fefbf4db1e2fd46ab7e8e83417a5d8990041cae515e477b2d911a9603a4b55d81e0acc4797d832 hasklig-2.1.0.zip +761bb318e2f1a2f139c92aa793cf90156f892103233441632d88b13c6aa02c98f8704ecf510d44f9e9f7435896d16a81d720d65d1cd225c20271d769fd11305e anonymous-pro-2.1.0.zip +731dee4a8b9fcf399495b858378dd34746f2e5a9ed67e69e98387c5e77af7342df518221327264c207d75df5cfd878734aecc6fc3b170cf2972d39083bec597d share-tech-mono-2.1.0.zip +9c0abc645b0db737f6f648d0d93f5fab1c7d0cb2e5d99e57de3476c61006a40faa430c6c1cc4cf23164d8e219c0419175e61b45b1780c7c43069aa0c89bb32eb space-mono-2.1.0.zip +27eed9df1161564db22278b88492e30976dfbc8783bcfda6324c3dad3246f5d1466b2d318b7fbaa641baf410afbc7b362f310e410484dbead9d2f0e73de03ea1 go-mono-2.1.0.zip +f97624aa018012313d1b496629a0db42c6b7f23eb473d71791445bbb7e1662335f846a37ee90d162e3eefee429169dd059407db0270ef5f327b9053e61417d8c iosevka-2.1.0.zip +effc1a81670c37b07f17f1c756a480091c777f6074b59cd6eefd09c8d5210b529de3c41e9cedf4992aacd9fe5bb3a5b331411bfe5b2b6f0eb8680a8e852247c2 jetbrains-mono-2.1.0.zip" |