diff --git a/srcpkgs/nerd-fonts/template b/srcpkgs/nerd-fonts/template index dc921d751e..56b2d3524e 100644 --- a/srcpkgs/nerd-fonts/template +++ b/srcpkgs/nerd-fonts/template @@ -1,9 +1,10 @@ # Template file for 'nerd-fonts' pkgname=nerd-fonts version=2.0.0 -revision=1 +revision=2 archs=noarch -wrksrc=NerdFonts +create_wrksrc=yes +build_wrksrc=NerdFonts depends="font-util xbps-triggers nerd-fonts-ttf nerd-fonts-otf" short_desc="Iconic font aggregator, collection and patcher" maintainer="Orphaned " @@ -11,18 +12,18 @@ license="MIT" homepage="https://nerdfonts.com" distfiles="https://gitlab.com/devopsdeluxe/nerd-fonts-aur/raw/v${version}/release/NerdFonts.tar.xz https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/LICENSE>LICENSE.txt - https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_all.sh>i_all.sh.txt - https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_dev.sh>i_dev.sh.txt - https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_fa.sh>i_fa.sh.txt - https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_fae.sh>i_fae.sh.txt - https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_iec.sh>i_iec.sh.txt - https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_linux.sh>i_linux.sh.txt - https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_material.sh>i_material.sh.txt - https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_oct.sh>i_oct.sh.txt - https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_ple.sh>i_pie.sh.txt - https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_pom.sh>i_pom.sh.txt - https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_seti.sh>i_seti.sh.txt - https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_weather.sh>i_weather.sh.txt" + https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_all.sh + https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_dev.sh + https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_fa.sh + https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_fae.sh + https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_iec.sh + https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_linux.sh + https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_material.sh + https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_oct.sh + https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_ple.sh + https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_pom.sh + https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_seti.sh + https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${version}/bin/scripts/lib/i_weather.sh" checksum="6e203ec84af9f55959141025a96ad3788c8edc7777b7dbcc1fafa600214c1213 d2a29823384e9194a87936ccad495c764c2ef733b29bfa6f72a1d65803ce02e5 036361c808c84242b819ba24246f205b283ae51ba5d5d3304848f999a3ff0622 @@ -54,8 +55,8 @@ do_install() { done < <(find . -name '*.ttf') while read -r sh; do - vinstall $sh 755 usr/lib/NerdFonts ${sh%%.txt} - done < <(find ../ -maxdepth 1 -name "i_*.sh.txt") + vinstall $sh 755 usr/lib/NerdFonts + done < <(find ../ -maxdepth 1 -name "i_*.sh") vlicense ../LICENSE.txt }