diff options
author | Knut Ahlers | 2020-06-30 23:55:45 +0200 |
---|---|---|
committer | Knut Ahlers | 2020-06-30 23:55:45 +0200 |
commit | 5246ab6f0a6f477543a27cc8e4a23ca3e0f4c036 (patch) | |
tree | 7541e2777edcbb87cf6dc2f691dafbce0ce2a5a7 | |
parent | 750921517296fec91f7d70d5a591651da9d9bcd9 (diff) | |
download | aur-5246ab6f0a6f477543a27cc8e4a23ca3e0f4c036.tar.gz |
Remove postinstall script and dependencies
as those tasks are now executed through post-transaction hooks
Signed-off-by: Knut Ahlers <knut@ahlers.me>
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | nerd-fonts-dejavu-complete.install | 28 |
3 files changed, 2 insertions, 35 deletions
@@ -1,13 +1,10 @@ pkgbase = nerd-fonts-dejavu-complete pkgdesc = All variants of Nerd-Font-patched DejaVu Sans Mono pkgver = 2.1.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.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 @@ -3,14 +3,12 @@ pkgname=nerd-fonts-dejavu-complete pkgver=2.1.0 -pkgrel=1 +pkgrel=2 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/v${pkgver}/patched-fonts/DejaVuSansMono" 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" diff --git a/nerd-fonts-dejavu-complete.install b/nerd-fonts-dejavu-complete.install deleted file mode 100644 index e352fc4c3333..000000000000 --- a/nerd-fonts-dejavu-complete.install +++ /dev/null @@ -1,28 +0,0 @@ -msg() { - - echo -en "[1;34m::[0;1m ${@}[0m" - -} - -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 - -} - |