summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2018-03-01 15:11:34 +0300
committerCaleb Maclennan2018-03-01 15:11:49 +0300
commitb9d4870f35e447419112e292dbb560ca18c64ca3 (patch)
tree13fdaa453d291119c1b4974c63c634efa373ebc0
parent8cba7c5e86f6c6bf424a61db0c82410d527c4078 (diff)
downloadaur-b9d4870f35e447419112e292dbb560ca18c64ca3.tar.gz
Remove post_install function obsoleted by default fontconfig hook
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD8
-rw-r--r--ttf.install20
3 files changed, 5 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 33f29d1d5cfc..275e39fb19e1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Mon Oct 9 11:51:19 UTC 2017
+# Thu Mar 1 12:11:27 UTC 2018
pkgbase = ttf-sil-abyssinica
pkgdesc = OpenType calligraphic font for Ethiopic languages from SIL
pkgver = 1.500
- pkgrel = 7
+ pkgrel = 8
url = http://software.sil.org/abyssinica/
- install = ttf.install
arch = any
license = custom:OFL
depends = fontconfig
diff --git a/PKGBUILD b/PKGBUILD
index 39492091ef93..ae39e9f9c2e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,12 @@
pkgname=ttf-sil-abyssinica
_fname=AbyssinicaSIL
pkgver=1.500
-pkgrel=7
-pkgdesc="OpenType calligraphic font for Ethiopic languages from SIL"
+pkgrel=8
+pkgdesc='OpenType calligraphic font for Ethiopic languages from SIL'
arch=('any')
-url="http://software.sil.org/abyssinica/"
+url='http://software.sil.org/abyssinica/'
license=('custom:OFL')
depends=('fontconfig' 'xorg-font-utils')
-conflicts=()
-install=ttf.install
source=("http://software.sil.org/downloads/r/abyssinica/${_fname}-${pkgver}.zip")
sha256sums=('e48a77d5ab8ee0b06464a5b29be70f292aa25dc1e73eb39ec933bd7fa47bbd86')
diff --git a/ttf.install b/ttf.install
deleted file mode 100644
index 7a325abf4eb9..000000000000
--- a/ttf.install
+++ /dev/null
@@ -1,20 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache /usr/share/fonts/TTF
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "done."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
-
-op=$1
-shift
-
-$op $*