summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSuperBo2016-12-20 09:49:16 +0700
committerSuperBo2016-12-20 09:49:16 +0700
commit310eef50686ff98111c1fc6375f4bc4b96340441 (patch)
treebc47a7ad605848698fc362f3370a5ded02c864a1 /PKGBUILD
parentf9777edb7ff7d441afe3a3f997c231e2574c8cd4 (diff)
downloadaur-310eef50686ff98111c1fc6375f4bc4b96340441.tar.gz
Update to v1.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD114
1 files changed, 14 insertions, 100 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b2771268eba7..657df138162e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,118 +1,32 @@
# Maintainer: Super Bo <supernbo@gmail.com>
pkgname=nerd-fonts-complete
-pkgver=0.8.0
+pkgver=1.0.0
pkgrel=1
pkgdesc="collection of over 20 patched fonts (complete variant) for powerline, devicons, and vim-devicons: includes Droid Sans, Meslo, AnonymousPro, ProFont, Inconsolta, and many more"
arch=('any')
url='https://github.com/ryanoasis/nerd-fonts'
-_url="https://raw.githubusercontent.com/ryanoasis/nerd-fonts/$pkgver/patched-fonts"
license=('MIT')
depends=('fontconfig' 'xorg-font-utils')
conflicts=(nerd-fonts-git)
install=$pkgname.install
-source=(
- "$_url/3270/Medium/complete/3270-Medium%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/3270/Medium/complete/3270-Medium%20Nerd%20Font%20Complete.otf"
- "$_url/3270/Narrow/complete/3270%20Narrow%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/3270/Narrow/complete/3270%20Narrow%20Nerd%20Font%20Complete.otf"
- "$_url/AurulentSansMono/complete/AurulentSansMono-Regular%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/AurulentSansMono/complete/AurulentSansMono-Regular%20Nerd%20Font%20Complete.otf"
- "$_url/DroidSansMono/complete/Droid%20Sans%20Mono%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/DroidSansMono/complete/Droid%20Sans%20Mono%20for%20Powerline%20Nerd%20Font%20Complete.otf"
- "$_url/FiraCode/Bold/complete/Fura%20Code%20Bold%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/FiraCode/Bold/complete/Fura%20Code%20Bold%20Nerd%20Font%20Complete.otf"
- "$_url/FiraCode/Light/complete/Fura%20Code%20Light%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/FiraCode/Light/complete/Fura%20Code%20Light%20Nerd%20Font%20Complete.otf"
- "$_url/FiraCode/Medium/complete/Fura%20Code%20Medium%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/FiraCode/Medium/complete/Fura%20Code%20Medium%20Nerd%20Font%20Complete.otf"
- "$_url/FiraCode/Regular/complete/Fura%20Code%20Regular%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/FiraCode/Regular/complete/Fura%20Code%20Regular%20Nerd%20Font%20Complete.otf"
- "$_url/FiraCode/Retina/complete/Fura%20Code%20Retina%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/FiraCode/Retina/complete/Fura%20Code%20Retina%20Nerd%20Font%20Complete.otf"
- "$_url/FiraMono/Bold/complete/Fura%20Mono%20Bold%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/FiraMono/Bold/complete/Fura%20Mono%20Bold%20for%20Powerline%20Nerd%20Font%20Complete.otf"
- "$_url/FiraMono/Medium/complete/Fura%20Mono%20Medium%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/FiraMono/Medium/complete/Fura%20Mono%20Medium%20for%20Powerline%20Nerd%20Font%20Complete.otf"
- "$_url/FiraMono/Regular/complete/Fura%20Mono%20Regular%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/FiraMono/Regular/complete/Fura%20Mono%20Regular%20for%20Powerline%20Nerd%20Font%20Complete.otf"
- "$_url/Hermit/Bold/complete/Hurmit%20Bold%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/Hermit/Bold/complete/Hurmit%20Bold%20Nerd%20Font%20Complete.otf"
- "$_url/Hermit/Light/complete/Hurmit%20Light%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/Hermit/Light/complete/Hurmit%20Light%20Nerd%20Font%20Complete.otf"
- "$_url/Hermit/Medium/complete/Hurmit%20Medium%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/Hermit/Medium/complete/Hurmit%20Medium%20Nerd%20Font%20Complete.otf"
- "$_url/Inconsolata/complete/Inconsolata%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/Inconsolata/complete/Inconsolata%20for%20Powerline%20Nerd%20Font%20Complete.otf"
- "$_url/Meslo/L-DZ/complete/Meslo%20LG%20L%20DZ%20Regular%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/Meslo/L-DZ/complete/Meslo%20LG%20L%20DZ%20Regular%20for%20Powerline%20Nerd%20Font%20Complete.otf"
- "$_url/Meslo/L/complete/Meslo%20LG%20L%20Regular%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/Meslo/L/complete/Meslo%20LG%20L%20Regular%20for%20Powerline%20Nerd%20Font%20Complete.otf"
- "$_url/Meslo/M-DZ/complete/Meslo%20LG%20M%20DZ%20Regular%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/Meslo/M-DZ/complete/Meslo%20LG%20M%20DZ%20Regular%20for%20Powerline%20Nerd%20Font%20Complete.otf"
- "$_url/Meslo/M/complete/Meslo%20LG%20M%20Regular%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/Meslo/M/complete/Meslo%20LG%20M%20Regular%20for%20Powerline%20Nerd%20Font%20Complete.otf"
- "$_url/Meslo/S-DZ/complete/Meslo%20LG%20S%20DZ%20Regular%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/Meslo/S-DZ/complete/Meslo%20LG%20S%20DZ%20Regular%20for%20Powerline%20Nerd%20Font%20Complete.otf"
- "$_url/Meslo/S/complete/Meslo%20LG%20S%20Regular%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.otf"
- "$_url/Meslo/S/complete/Meslo%20LG%20S%20Regular%20for%20Powerline%20Nerd%20Font%20Complete.otf"
- "https://raw.githubusercontent.com/ryanoasis/nerd-fonts/$pkgver/LICENSE"
-)
-md5sums=('f7676f616df28c04d84f2c69adc0610d'
- 'd30ce70ccbb5a9ba41dce75b169edfd2'
- 'a8eea3b44421d644838b10382549a499'
- '2ccf3beccdc1d2a285d0de2bd3ae8ae9'
- '70143819c786a6293176fe14b8cb9c0a'
- 'e6067fc5ced57f3937214a06c39c17be'
- '1fe3f219292d884f579515209fe2d222'
- '6fbca9a38150f044d071c70ff05ecee6'
- '7f6b395c4562e472c8865106f2dfdc38'
- '26a4eac62df8e6b8461bcea85f829af0'
- '2e20f10a2606f83b99f51ff873f91eb8'
- 'bf7177ae7baf03e7ed0f65acc57bfef5'
- '9da34f1d78aece250a25223aad465648'
- '45510e6946b20ab3e207910da0d3d2f6'
- 'c5d10d58b42d73dcd461e61c2953b77e'
- '2e7ddbd65d4f2201418d8272a3d1c646'
- 'ed98cc8d26b76a7330ed44936ad224e5'
- '028d65b3717d23a003633e388ee5c0cb'
- '8df6ebdcdfe8fe882dc245e7447fc2e9'
- 'd46640d12b2ce370a0e1658ed1c61192'
- '85dac4371b110acafad36a8015094301'
- '107f23d5aecf4aeb503c5557caaa3a5b'
- '3a7ae36ea831727897bc64d83ecc39f2'
- 'd6ea1cf847c1817b6a949dde5296115a'
- '70d627ca2ab04530155f3d42137b15b8'
- 'e71c7aa27a7cf2833e8adb519a6016d1'
- '158da52c07a3efda267203df11613858'
- '65c121db637ebca8dd527d614caea8de'
- '4f030945f32dcc6c337d78a12247d90a'
- '07137d4f15cb23af2f5e1825948f59da'
- '1596d05214b737d5c6a4f3ad9f0db54f'
- 'fffd2d2508c1ddfbc50b64cd5c6d8c53'
- '1dc314cb4da21a29e25749a82871e63c'
- '98a51ce356a1a47693b763c456c77cc5'
- '1ab2487613be6b594498d3a0bdc1743c'
- 'abf9a40bfdc968f8a712f11d611ceba2'
- '53e8439142a0165f882ce3efd72a838a'
- 'ea302039a4a1520531001ec3046df270'
- 'ec61fa7465cfbd9f173478426cd37c29'
- 'cb55b3695f789b2bc0e8a3d1ef30e5c0'
- 'd1b81040683249438fd2dd4cb117e634'
- '2173d3c61fe212afdb817477264876e3'
- 'd05113aceba8d9829129ac3c8a165499'
- 'c5bd07d84e7f99cc4ce5fc2714a1e19f'
- '1ac517b2f87f57fb806d71676c1cfc01'
-)
+source=("$pkgname.links"
+ "https://github.com/ryanoasis/nerd-fonts/raw/v1.0.0/LICENSE")
+sha256sums=(
+ '0ac47a1532911d35f76f7eb95e42be73302a11d240021570dce15d2bda22040d'
+ '25f0b18305451ab7353c534098d9daf4051fbedfac6d5ef9be5de42e007e1c3f')
-build() {
- for f in *%20*.otf; do
- mv "$f" "${f//\%20/ }"
- done
+prepare() {
+ # Just download font file (complete version) from github repo because the whole repo is too big
+ cd "${srcdir}"
+ echo "Downloading fonts ...."
+ wget -c --show-progress -i "${pkgname}.links"
}
package() {
- install -d ${pkgdir}/usr/share/fonts/OTF/
+ install -d ${pkgdir}/usr/share/fonts/OTF
+ install -d ${pkgdir}/usr/share/fonts/TTF
install -d ${pkgdir}/usr/share/licenses/${pkgname}
install -Dm644 ${srcdir}/*.otf ${pkgdir}/usr/share/fonts/OTF
+ install -Dm644 ${srcdir}/*.ttf ${pkgdir}/usr/share/fonts/TTF
install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}
}