summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Werkmeister2017-09-08 01:53:46 +0200
committerLucas Werkmeister2017-09-08 01:59:16 +0200
commitb9ab19c0a5514c90d0cf86223d80537475b4dd52 (patch)
tree14cd172e292c2ebdf41519e2d55a7e3af13cd1ad
parentb4b3779ecc03ca04c2083a71da48ea53ff658ee0 (diff)
downloadaur-b9ab19c0a5514c90d0cf86223d80537475b4dd52.tar.gz
Remove install script
As AUR users tinxy and tsuflux pointed out, the script is not necessary. The package depends on xorg-font-utils, which in turn depends on xorg-mkfontdir, which includes the xorg-mkfontdir.hook hook, which runs the /usr/share/libalpm/scripts/xorg-mkfontdir script, which runs mkfontscale and mkfontdir. Furthermore, the package depends directly on fontconfig, which includes the fontconfig.hook hook, which runs `fc-cache -s`. Together, these hooks completely cover the contents of the install script, rendering it unnecessary.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD1
-rw-r--r--otf-vollkorn.install15
3 files changed, 1 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 750892222fd8..6925c0d45f64 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Tue Aug 15 14:41:47 UTC 2017
+# Thu Sep 7 23:53:41 UTC 2017
pkgbase = otf-vollkorn
pkgdesc = Vollkorn typeface by Friedrich Althausen (OpenType)
pkgver = 4.015
pkgrel = 1
url = http://vollkorn-typeface.com/
- install = otf-vollkorn.install
changelog = ChangeLog.otf-vollkorn
arch = any
license = custom:SIL Open Font License
diff --git a/PKGBUILD b/PKGBUILD
index 734a1955c6ab..2766644ffd1a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,6 @@ pkgrel=1
changelog=ChangeLog.${pkgname}
depends=('fontconfig' 'xorg-font-utils')
arch=('any')
-install=$pkgname.install
source=(http://vollkorn-typeface.com/download/vollkorn-${pkgver//./-}.zip)
sha512sums=('0f17cd06e670a34ae8e6a891c24494624bac2208b9bdf4add7d80229c22c4dce4ea5af835f2f9d1ae7133272563e372913926f72ea6d399effc605c2b00ef21e')
diff --git a/otf-vollkorn.install b/otf-vollkorn.install
deleted file mode 100644
index feb9bd7b5b8f..000000000000
--- a/otf-vollkorn.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -fs >/dev/null
- mkfontscale /usr/share/fonts/OTF
- mkfontdir /usr/share/fonts/OTF
- echo "done"
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}