Add provides=ttf-font

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-08-23 23:35:51 +02:00
parent 8b4f3f0e9e
commit f638a688cd
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 4 additions and 4 deletions

View file

@ -1,13 +1,14 @@
pkgbase = nerd-fonts-dejavu-complete pkgbase = nerd-fonts-dejavu-complete
pkgdesc = All variants of Nerd-Font-patched DejaVu Sans Mono pkgdesc = All variants of Nerd-Font-patched DejaVu Sans Mono
pkgver = 2.0.0 pkgver = 2.0.0
pkgrel = 1 pkgrel = 2
url = https://github.com/ryanoasis/nerd-fonts url = https://github.com/ryanoasis/nerd-fonts
install = nerd-fonts-dejavu-complete.install install = nerd-fonts-dejavu-complete.install
arch = any arch = any
license = MIT license = MIT
depends = fontconfig depends = fontconfig
depends = xorg-font-utils depends = xorg-font-utils
provides = ttf-font
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.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-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.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v2.0.0/patched-fonts/DejaVuSansMono/Regular/complete/DejaVu%20Sans%20Mono%20Nerd%20Font%20Complete.ttf

View file

@ -3,7 +3,7 @@
pkgname=nerd-fonts-dejavu-complete pkgname=nerd-fonts-dejavu-complete
pkgver=2.0.0 pkgver=2.0.0
pkgrel=1 pkgrel=2
pkgdesc="All variants of Nerd-Font-patched DejaVu Sans Mono" pkgdesc="All variants of Nerd-Font-patched DejaVu Sans Mono"
arch=('any') arch=('any')
url="https://github.com/ryanoasis/nerd-fonts" url="https://github.com/ryanoasis/nerd-fonts"
@ -11,6 +11,7 @@ raw_url="https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${pkgver}/patch
license=('MIT') license=('MIT')
depends=('fontconfig' 'xorg-font-utils') depends=('fontconfig' 'xorg-font-utils')
install="${pkgname}.install" install="${pkgname}.install"
provides=(ttf-font)
source=( source=(
"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.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-Bold-Nerd-Font-Complete-Mono.ttf::${raw_url}/Bold/complete/DejaVu%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete%20Mono.ttf"
@ -31,8 +32,6 @@ sha512sums=('ca49cf5ef4c71d6b1d843ad39b70438bb68024d51ccfb12fb190b7788e7d8434c9b
'd0446a09a2aed03eb4162a226c151685065d418157d76816af034f7961a209021536aefbe161cfa035265d645327459487821b71454ce5d56f650dc4ef711e9c') 'd0446a09a2aed03eb4162a226c151685065d418157d76816af034f7961a209021536aefbe161cfa035265d645327459487821b71454ce5d56f650dc4ef711e9c')
package() { package() {
install -dm0755 ${pkgdir}/usr/share/fonts/TTF install -dm0755 ${pkgdir}/usr/share/fonts/TTF
install -Dm0644 ${srcdir}/*.ttf ${pkgdir}/usr/share/fonts/TTF install -Dm0644 ${srcdir}/*.ttf ${pkgdir}/usr/share/fonts/TTF
} }