From f638a688cd22e78d20322a6542750588fb380efe Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 23 Aug 2019 23:35:51 +0200 Subject: [PATCH] Add provides=ttf-font Signed-off-by: Knut Ahlers --- .SRCINFO | 3 ++- PKGBUILD | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index f719c22..54bc0cd 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,13 +1,14 @@ pkgbase = nerd-fonts-dejavu-complete pkgdesc = All variants of Nerd-Font-patched DejaVu Sans Mono pkgver = 2.0.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/ryanoasis/nerd-fonts install = nerd-fonts-dejavu-complete.install arch = any license = MIT depends = fontconfig 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-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 diff --git a/PKGBUILD b/PKGBUILD index 56ded63..dd2e0aa 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=nerd-fonts-dejavu-complete pkgver=2.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="All variants of Nerd-Font-patched DejaVu Sans Mono" arch=('any') 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') depends=('fontconfig' 'xorg-font-utils') install="${pkgname}.install" +provides=(ttf-font) 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-Mono.ttf::${raw_url}/Bold/complete/DejaVu%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete%20Mono.ttf" @@ -31,8 +32,6 @@ sha512sums=('ca49cf5ef4c71d6b1d843ad39b70438bb68024d51ccfb12fb190b7788e7d8434c9b 'd0446a09a2aed03eb4162a226c151685065d418157d76816af034f7961a209021536aefbe161cfa035265d645327459487821b71454ce5d56f650dc4ef711e9c') package() { - install -dm0755 ${pkgdir}/usr/share/fonts/TTF install -Dm0644 ${srcdir}/*.ttf ${pkgdir}/usr/share/fonts/TTF - }