summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Janon2020-09-15 12:48:48 +0200
committerAlexis Janon2020-09-15 13:49:22 +0200
commite5b29a2d1a291dd6bee406f410de13453c58fb30 (patch)
tree3ce5619eeeb44e63b4504c9a4881adff400b8555
parent56c801b809f69e5a7324bba003e8dd0a1828a7b4 (diff)
downloadaur-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--.SRCINFO1
-rw-r--r--PKGBUILD1
-rw-r--r--ttf-atom-file-icons.install15
3 files changed, 0 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c1049384c8fb..9a59692d08d7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 1e0e9618ee07..8ff29dc2b66f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
-}