Remove postinstall script and dependencies

as those tasks are now executed through post-transaction hooks

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-06-30 23:55:45 +02:00
parent 7509215172
commit 5246ab6f0a
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
3 changed files with 2 additions and 35 deletions

View file

@ -1,13 +1,10 @@
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.1.0 pkgver = 2.1.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
arch = any arch = any
license = MIT license = MIT
depends = fontconfig
depends = xorg-font-utils
provides = ttf-font provides = ttf-font
source = DejaVu-Sans-Mono-Bold-Nerd-Font-Complete.ttf::https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v2.1.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.1.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.1.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.1.0/patched-fonts/DejaVuSansMono/Bold/complete/DejaVu%20Sans%20Mono%20Bold%20Nerd%20Font%20Complete%20Mono.ttf

View file

@ -3,14 +3,12 @@
pkgname=nerd-fonts-dejavu-complete pkgname=nerd-fonts-dejavu-complete
pkgver=2.1.0 pkgver=2.1.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"
raw_url="https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${pkgver}/patched-fonts/DejaVuSansMono" raw_url="https://raw.githubusercontent.com/ryanoasis/nerd-fonts/v${pkgver}/patched-fonts/DejaVuSansMono"
license=('MIT') license=('MIT')
depends=('fontconfig' 'xorg-font-utils')
install="${pkgname}.install"
provides=(ttf-font) 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"

View file

@ -1,28 +0,0 @@
msg() {
echo -en ":: ${@}"
}
post_install() {
msg 'Updating font cache...'
fc-cache -s > /dev/null 2>&1
mkfontscale /usr/share/fonts/TTF > /dev/null 2>&1
mkfontdir /usr/share/fonts/TTF > /dev/null 2>&1
echo ' done!'
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}