diff options
author | Alexis Janon | 2020-09-15 12:48:48 +0200 |
---|---|---|
committer | Alexis Janon | 2020-09-15 13:49:22 +0200 |
commit | e5b29a2d1a291dd6bee406f410de13453c58fb30 (patch) | |
tree | 3ce5619eeeb44e63b4504c9a4881adff400b8555 | |
parent | 56c801b809f69e5a7324bba003e8dd0a1828a7b4 (diff) | |
download | aur-e5b29a2d1a291dd6bee406f410de13453c58fb30.tar.gz |
Remove post_install step
The current post_install step refreshes the font cache.
This step is now unnecessary as reloading the font cache is handled by pacman
hooks (see https://wiki.archlinux.org/index.php?title=Font_package_guidelines&oldid=625203#Dependencies).
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 1 | ||||
-rw-r--r-- | ttf-atom-file-icons.install | 15 |
3 files changed, 0 insertions, 17 deletions
@@ -3,7 +3,6 @@ pkgbase = ttf-atom-file-icons pkgver = 2.1.39 pkgrel = 1 url = https://atom.io/packages/file-icons - install = ttf-atom-file-icons.install arch = any license = MIT makedepends = woff2-git @@ -16,7 +16,6 @@ depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') makedepends=('woff2-git') source=("$pkgname-$pkgver.tar.gz::https://github.com/${_pkgmaintainer}/${_pkgsrcname}/archive/${_versionprefix}${pkgver}.tar.gz") md5sums=('407bbec38267f626aecb20d02259c7de') -install=$pkgname.install build() { cd "${srcdir}/${_pkgsrcname}-${pkgver}/fonts/" diff --git a/ttf-atom-file-icons.install b/ttf-atom-file-icons.install deleted file mode 100644 index ad0d9a28ff8e..000000000000 --- a/ttf-atom-file-icons.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -fs >/dev/null - mkfontscale /usr/share/fonts/TTF - mkfontdir /usr/share/fonts/TTF - echo " ...done." -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |