Update to v2.0.0

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-09-01 00:56:45 +02:00
parent 33d49df567
commit c5f84dba39
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
3 changed files with 76 additions and 46 deletions

View file

@ -1,8 +1,6 @@
# Generated by mksrcinfo v8
# Mon Jan 9 11:03:33 UTC 2017
pkgbase = nerd-fonts-dejavu-complete
pkgdesc = All variants of Nerd-Font-patched DejaVu Sans Mono with complete+powerline option
pkgver = 1.0.0
pkgdesc = All variants of Nerd-Font-patched DejaVu Sans Mono
pkgver = 2.0.0
pkgrel = 1
url = https://github.com/ryanoasis/nerd-fonts
install = nerd-fonts-dejavu-complete.install
@ -10,24 +8,22 @@ pkgbase = nerd-fonts-dejavu-complete
license = MIT
depends = fontconfig
depends = xorg-font-utils
source = DejaVuSansMono-for-Powerline-Nerd-Font-Complete.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/1.0.0/patched-fonts/DejaVuSansMono/Regular/complete/DejaVu%20Sans%20Mono%20for%20Powerline%20Nerd%20Font%20Complete.ttf
source = DejaVuSansMono-for-Powerline-Nerd-Font-Complete-Mono.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/1.0.0/patched-fonts/DejaVuSansMono/Regular/complete/DejaVu%20Sans%20Mono%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.ttf
source = DejaVuSansMono-Oblique-for-Powerline-Nerd-Font-Complete.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/1.0.0/patched-fonts/DejaVuSansMono/Italic/complete/DejaVu%20Sans%20Mono%20Oblique%20for%20Powerline%20Nerd%20Font%20Complete.ttf
source = DejaVuSansMono-Oblique-for-Powerline-Nerd-Font-Complete-Mono.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/1.0.0/patched-fonts/DejaVuSansMono/Italic/complete/DejaVu%20Sans%20Mono%20Oblique%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.ttf
source = DejaVuSansMono-Bold-for-Powerline-Nerd-Font-Complete.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/1.0.0/patched-fonts/DejaVuSansMono/Bold/complete/DejaVu%20Sans%20Mono%20Bold%20for%20Powerline%20Nerd%20Font%20Complete.ttf
source = DejaVuSansMono-Bold-for-Powerline-Nerd-Font-Complete-Mono.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/1.0.0/patched-fonts/DejaVuSansMono/Bold/complete/DejaVu%20Sans%20Mono%20Bold%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.ttf
source = DejaVuSansMono-Bold-Oblique-for-Powerline-Nerd-Font-Complete.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/1.0.0/patched-fonts/DejaVuSansMono/Bold-Italic/complete/DejaVu%20Sans%20Mono%20Bold%20Oblique%20for%20Powerline%20Nerd%20Font%20Complete.ttf
source = DejaVuSansMono-Bold-Oblique-for-Powerline-Nerd-Font-Complete-Mono.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/1.0.0/patched-fonts/DejaVuSansMono/Bold-Italic/complete/DejaVu%20Sans%20Mono%20Bold%20Oblique%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.ttf
source = LICENSE::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/DejaVuSansMono/LICENSE.txt
sha512sums = f42a57189b9f83ab8975d179a01108e7c077ca05d06e05e0a96dc15d41e9f032f44d2de17ac22cfbe1b696dc241f957f2c32c2bbebed8d36f6776c2ce16220a9
sha512sums = b85860920ff8ef464988ce3cbe77aa55a89c2a0621f0f809bf0f009dcfad0a73adc877f7d8fcd4ddbca406ade9a89db6b4928b7c6cf0fdea94c18153fd0f610a
sha512sums = a95a3ff35aeb3ec1d6f7039a4dae58c6a449d65abc395e78cc53463a97987f0c93139444916b3ef6cb6e808e5985e5529478294efee9d2aed54175c8f542c93a
sha512sums = f030ed94a313fe4f28a5e1613fcd1a245287554629dbf53273f61490ffed3f8a151385a8593f8d5c9ae756d9b9df62f08fdad33edd31fa9678ca77e125eee215
sha512sums = 53ad5123eeb40d4c2310d3d76663f544559d3867775eb7ec2c5369b99c0824dbaaf06a1c0394a09fdad81b604ee75f57cd098b2b50ee8c0bb8e6ac0ba9430e7c
sha512sums = 5402ba8e2506bb74fe9ce8a99de85cb007d5cafbad82ebec831561266374dc0d98b8689f72a7fd104bd39958adf694eee8d0a38d83419b572599690617f9b32c
sha512sums = f3a1677b4e6d07facb1c65129fc40902879b8d4da3a4b3335841439f0925b8af611b4a899d837736e06a1f4f371d1d22b5cc84d470208b66374ed2ddcf889cb9
sha512sums = efa2043fe6276611328aa10828c2e03981bc2f90afcf755e308a2193d1555783a8b1ed9fcbe93acbb97d909746a2bd831b33a0eb86a4a54e30641f54145ab03a
sha512sums = 5fd1a814b4a43f033010b5f414c1a4d6fa7df5099821aebf1cb09dc5b0fd0d6a6b1e73b1bc93ac0f508125f86029f5356750dc30da0451bac9285e680275d699
source = DejaVu-Sans-Mono-Bold-Nerd-Font-Complete.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v2.0.0/patched-fonts/DejaVuSansMono/Bold/complete/DejaVu%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete.ttf
source = DejaVu-Sans-Mono-Bold-Nerd-Font-Complete-Mono.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v2.0.0/patched-fonts/DejaVuSansMono/Bold/complete/DejaVu%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete%20Mono.ttf
source = DejaVu-Sans-Mono-Nerd-Font-Complete.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v2.0.0/patched-fonts/DejaVuSansMono/Regular/complete/DejaVu%20Sans%20Mono%20Nerd%20Font%20Complete.ttf
source = DejaVu-Sans-Mono-Nerd-Font-Complete-Mono.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v2.0.0/patched-fonts/DejaVuSansMono/Regular/complete/DejaVu%20Sans%20Mono%20Nerd%20Font%20Complete%20Mono.ttf
source = DejaVu-Sans-Mono-Oblique-Nerd-Font-Complete.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v2.0.0/patched-fonts/DejaVuSansMono/Italic/complete/DejaVu%20Sans%20Mono%20Oblique%20Nerd%20Font%20Complete.ttf
source = DejaVu-Sans-Mono-Oblique-Nerd-Font-Complete-Mono.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v2.0.0/patched-fonts/DejaVuSansMono/Italic/complete/DejaVu%20Sans%20Mono%20Oblique%20Nerd%20Font%20Complete%20Mono.ttf
source = DejaVu-Sans-Mono-Bold-Oblique-Nerd-Font-Complete-Mono.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v2.0.0/patched-fonts/DejaVuSansMono/Bold-Italic/complete/DejaVu%20Sans%20Mono%20Bold%20Oblique%20Nerd%20Font%20Complete%20Mono.ttf
source = DejaVu-Sans-Mono-Bold-Oblique-Nerd-Font-Complete.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v2.0.0/patched-fonts/DejaVuSansMono/Bold-Italic/complete/DejaVu%20Sans%20Mono%20Bold%20Oblique%20Nerd%20Font%20Complete.ttf
sha512sums = ca49cf5ef4c71d6b1d843ad39b70438bb68024d51ccfb12fb190b7788e7d8434c9bdd76baa092d34bcbcad76922703dc67d0e7fadc317592ed7f32abc4a399c9
sha512sums = 4be46f414d03094d22e67d945f23d466282e38853881a99db26078e807ef500d07df650b3af2cf2d8fbf3453fa485d9480b58f3f633577c705d0ce2b0fba9323
sha512sums = 2dc6be508e3a7339abe67b17b52bbf43907d6ff808451ff9d57089d3510d15b948873d5e1105803405b2bafa16088eff879d4e225d8b285e0c857431d2148f76
sha512sums = db613f98c6bc53910e6ff93d97addfa2305947f8063bbfd78fe26a901ac15cac434d4681def34a0fba033752900f35b58ac3ff2f2a6d33644638fa7d5db44662
sha512sums = 948753687f8065d22ea0a8e794524a505db54f7d700238c1c01112d74ef37bc13cc84916d663c36859b44aff71cb56e75bf8652641d99d06aafcb02d836dd61a
sha512sums = 10995c35eb356ce8d73c3e1fb2b849d26531845190552fc6907f10740fe3deadc7ca5829b24720e47af8b720b6e76ff539320b0fc85df10398794aa446a85955
sha512sums = b4c99a64c7518b2c7d5325639930df79c57b9a5da53a478aa22c70ca8278dfbae3ede2c7fd1481299427404ce70b2a2b62df9c9a7dbeb2e62e4b96fe0c66ef90
sha512sums = d0446a09a2aed03eb4162a226c151685065d418157d76816af034f7961a209021536aefbe161cfa035265d645327459487821b71454ce5d56f650dc4ef711e9c
pkgname = nerd-fonts-dejavu-complete

View file

@ -1,41 +1,40 @@
# Maintainer: Tiago Brait <tiagobrait AT gmail DOT com>
# Maintainer: Knut Ahlers <knut at ahlers dot me>
# Contributor: Tiago Brait <tiagobrait AT gmail DOT com>
pkgname=nerd-fonts-dejavu-complete
pkgver=1.0.0
pkgver=2.0.0
pkgrel=1
pkgdesc="All variants of Nerd-Font-patched DejaVu Sans Mono with complete+powerline option"
pkgdesc="All variants of Nerd-Font-patched DejaVu Sans Mono"
arch=('any')
url="https://github.com/ryanoasis/nerd-fonts"
raw_url="https://raw.githubusercontent.com/ryanoasis/nerd-fonts/${pkgver}/patched-fonts/DejaVuSansMono"
raw_url="https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${pkgver}/patched-fonts/DejaVuSansMono"
license=('MIT')
depends=('fontconfig' 'xorg-font-utils')
install="${pkgname}.install"
source=(
"DejaVuSansMono-for-Powerline-Nerd-Font-Complete.ttf::${raw_url}/Regular/complete/DejaVu%20Sans%20Mono%20for%20Powerline%20Nerd%20Font%20Complete.ttf"
"DejaVuSansMono-for-Powerline-Nerd-Font-Complete-Mono.ttf::${raw_url}/Regular/complete/DejaVu%20Sans%20Mono%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.ttf"
"DejaVuSansMono-Oblique-for-Powerline-Nerd-Font-Complete.ttf::${raw_url}/Italic/complete/DejaVu%20Sans%20Mono%20Oblique%20for%20Powerline%20Nerd%20Font%20Complete.ttf"
"DejaVuSansMono-Oblique-for-Powerline-Nerd-Font-Complete-Mono.ttf::${raw_url}/Italic/complete/DejaVu%20Sans%20Mono%20Oblique%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.ttf"
"DejaVuSansMono-Bold-for-Powerline-Nerd-Font-Complete.ttf::${raw_url}/Bold/complete/DejaVu%20Sans%20Mono%20Bold%20for%20Powerline%20Nerd%20Font%20Complete.ttf"
"DejaVuSansMono-Bold-for-Powerline-Nerd-Font-Complete-Mono.ttf::${raw_url}/Bold/complete/DejaVu%20Sans%20Mono%20Bold%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.ttf"
"DejaVuSansMono-Bold-Oblique-for-Powerline-Nerd-Font-Complete.ttf::${raw_url}/Bold-Italic/complete/DejaVu%20Sans%20Mono%20Bold%20Oblique%20for%20Powerline%20Nerd%20Font%20Complete.ttf"
"DejaVuSansMono-Bold-Oblique-for-Powerline-Nerd-Font-Complete-Mono.ttf::${raw_url}/Bold-Italic/complete/DejaVu%20Sans%20Mono%20Bold%20Oblique%20for%20Powerline%20Nerd%20Font%20Complete%20Mono.ttf"
"LICENSE::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/DejaVuSansMono/LICENSE.txt"
"DejaVu-Sans-Mono-Bold-Nerd-Font-Complete.ttf::${raw_url}/Bold/complete/DejaVu%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete.ttf"
"DejaVu-Sans-Mono-Bold-Nerd-Font-Complete-Mono.ttf::${raw_url}/Bold/complete/DejaVu%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete%20Mono.ttf"
"DejaVu-Sans-Mono-Nerd-Font-Complete.ttf::${raw_url}/Regular/complete/DejaVu%20Sans%20Mono%20Nerd%20Font%20Complete.ttf"
"DejaVu-Sans-Mono-Nerd-Font-Complete-Mono.ttf::${raw_url}/Regular/complete/DejaVu%20Sans%20Mono%20Nerd%20Font%20Complete%20Mono.ttf"
"DejaVu-Sans-Mono-Oblique-Nerd-Font-Complete.ttf::${raw_url}/Italic/complete/DejaVu%20Sans%20Mono%20Oblique%20Nerd%20Font%20Complete.ttf"
"DejaVu-Sans-Mono-Oblique-Nerd-Font-Complete-Mono.ttf::${raw_url}/Italic/complete/DejaVu%20Sans%20Mono%20Oblique%20Nerd%20Font%20Complete%20Mono.ttf"
"DejaVu-Sans-Mono-Bold-Oblique-Nerd-Font-Complete-Mono.ttf::${raw_url}/Bold-Italic/complete/DejaVu%20Sans%20Mono%20Bold%20Oblique%20Nerd%20Font%20Complete%20Mono.ttf"
"DejaVu-Sans-Mono-Bold-Oblique-Nerd-Font-Complete.ttf::${raw_url}/Bold-Italic/complete/DejaVu%20Sans%20Mono%20Bold%20Oblique%20Nerd%20Font%20Complete.ttf"
)
sha512sums=(
'ca49cf5ef4c71d6b1d843ad39b70438bb68024d51ccfb12fb190b7788e7d8434c9bdd76baa092d34bcbcad76922703dc67d0e7fadc317592ed7f32abc4a399c9'
'4be46f414d03094d22e67d945f23d466282e38853881a99db26078e807ef500d07df650b3af2cf2d8fbf3453fa485d9480b58f3f633577c705d0ce2b0fba9323'
'2dc6be508e3a7339abe67b17b52bbf43907d6ff808451ff9d57089d3510d15b948873d5e1105803405b2bafa16088eff879d4e225d8b285e0c857431d2148f76'
'db613f98c6bc53910e6ff93d97addfa2305947f8063bbfd78fe26a901ac15cac434d4681def34a0fba033752900f35b58ac3ff2f2a6d33644638fa7d5db44662'
'948753687f8065d22ea0a8e794524a505db54f7d700238c1c01112d74ef37bc13cc84916d663c36859b44aff71cb56e75bf8652641d99d06aafcb02d836dd61a'
'10995c35eb356ce8d73c3e1fb2b849d26531845190552fc6907f10740fe3deadc7ca5829b24720e47af8b720b6e76ff539320b0fc85df10398794aa446a85955'
'b4c99a64c7518b2c7d5325639930df79c57b9a5da53a478aa22c70ca8278dfbae3ede2c7fd1481299427404ce70b2a2b62df9c9a7dbeb2e62e4b96fe0c66ef90'
'd0446a09a2aed03eb4162a226c151685065d418157d76816af034f7961a209021536aefbe161cfa035265d645327459487821b71454ce5d56f650dc4ef711e9c'
)
sha512sums=('f42a57189b9f83ab8975d179a01108e7c077ca05d06e05e0a96dc15d41e9f032f44d2de17ac22cfbe1b696dc241f957f2c32c2bbebed8d36f6776c2ce16220a9'
'b85860920ff8ef464988ce3cbe77aa55a89c2a0621f0f809bf0f009dcfad0a73adc877f7d8fcd4ddbca406ade9a89db6b4928b7c6cf0fdea94c18153fd0f610a'
'a95a3ff35aeb3ec1d6f7039a4dae58c6a449d65abc395e78cc53463a97987f0c93139444916b3ef6cb6e808e5985e5529478294efee9d2aed54175c8f542c93a'
'f030ed94a313fe4f28a5e1613fcd1a245287554629dbf53273f61490ffed3f8a151385a8593f8d5c9ae756d9b9df62f08fdad33edd31fa9678ca77e125eee215'
'53ad5123eeb40d4c2310d3d76663f544559d3867775eb7ec2c5369b99c0824dbaaf06a1c0394a09fdad81b604ee75f57cd098b2b50ee8c0bb8e6ac0ba9430e7c'
'5402ba8e2506bb74fe9ce8a99de85cb007d5cafbad82ebec831561266374dc0d98b8689f72a7fd104bd39958adf694eee8d0a38d83419b572599690617f9b32c'
'f3a1677b4e6d07facb1c65129fc40902879b8d4da3a4b3335841439f0925b8af611b4a899d837736e06a1f4f371d1d22b5cc84d470208b66374ed2ddcf889cb9'
'efa2043fe6276611328aa10828c2e03981bc2f90afcf755e308a2193d1555783a8b1ed9fcbe93acbb97d909746a2bd831b33a0eb86a4a54e30641f54145ab03a'
'5fd1a814b4a43f033010b5f414c1a4d6fa7df5099821aebf1cb09dc5b0fd0d6a6b1e73b1bc93ac0f508125f86029f5356750dc30da0451bac9285e680275d699')
package() {
install -dm0755 ${pkgdir}/usr/share/fonts/TTF
install -dm0755 ${pkgdir}/usr/share/licenses/${pkgname}
install -Dm0644 ${srcdir}/*.ttf ${pkgdir}/usr/share/fonts/TTF
install -Dm0644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}
}

35
gen_update.sh Normal file
View file

@ -0,0 +1,35 @@
#!/bin/bash
set -euxo pipefail
VER=$(awk -F '=' '/^pkgver/{ print $2 }' PKGBUILD)
# Use ZIP to fetch shasums as git repo is huge
curl -sSfL https://github.com/ryanoasis/nerd-fonts/archive/v${VER}.tar.gz | tar -xvz --wildcards 'nerd-fonts-*/patched-fonts/DejaVuSansMono/*'
function cleanup() {
rm -rf \
nerd-fonts-*/ \
.source.tmp \
.hash512sum.tmp
}
trap cleanup EXIT
IFS=$'\n'
for file in $(find nerd-fonts-* -name '*.ttf' ! -name '*Windows*'); do
urlpart=$(echo "$file" | sed 's/^.*DejaVuSansMono//;s/ /%20/g')
sanitized=$(basename "$file" | sed 's/ /-/g')
hashsum=$(sha512sum $file | cut -d ' ' -f 1)
echo " \"${sanitized}::\${raw_url}${urlpart}\"" >>.source.tmp
echo " '${hashsum}'" >>.hash512sum.tmp
done
set +x
echo "source=("
cat .source.tmp
echo -e ")\nsha512sums=("
cat .hash512sum.tmp
echo ")"