summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2018-03-01 15:08:27 +0300
committerCaleb Maclennan2018-03-01 15:08:47 +0300
commit011aebf213c4da38de26550767ca9e14775d20c8 (patch)
tree979973250fae86d0e021b61abdaec7e9ffce0a6c
parent79459b551c60c7f03c7c10763b2a87c339ea1652 (diff)
downloadaur-011aebf213c4da38de26550767ca9e14775d20c8.tar.gz
Remove post_install function obsoleted by default fontconfig hook
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD5
-rw-r--r--ttf.install20
3 files changed, 4 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b33fb50db56..d1a3556044f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Mon Oct 9 11:49:20 UTC 2017
+# Thu Mar 1 12:07:48 UTC 2018
pkgbase = ttf-sil-lateef
pkgdesc = OpenType Arabic font from SIL
pkgver = 1.200
- pkgrel = 2
+ pkgrel = 3
url = http://software.sil.org/lateef/
- install = ttf.install
arch = i686
arch = x86_64
license = custom:OFL
diff --git a/PKGBUILD b/PKGBUILD
index 157fd919cb3..8e77c0325f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,17 @@
-# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: bslackr <brendan at vastactive dot com>
# Contributor: Firmicus <firmicus āt gmx dōt net>
pkgname=ttf-sil-lateef
_fname=LateefGR
pkgver=1.200
-pkgrel=2
+pkgrel=3
pkgdesc='OpenType Arabic font from SIL'
arch=('i686' 'x86_64')
url='http://software.sil.org/lateef/'
license=('custom:OFL')
depends=('fontconfig' 'xorg-font-utils')
conflicts=('ttf-sil-arabic' 'ttf-sil-fonts')
-install=ttf.install
source=("http://software.sil.org/downloads/r/lateef/${_fname}-${pkgver}.zip")
sha256sums=('ef6c6b4b4cb8d8502c78efc43cb99d29f391e6cb9eba1b133a661ffda3ddc7e1')
diff --git a/ttf.install b/ttf.install
deleted file mode 100644
index 7a325abf4eb..00000000000
--- 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 $*