summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeufochmar2018-04-04 17:41:41 +0200
committerFeufochmar2018-04-04 17:41:41 +0200
commit2ab542d33ffbd7a5f8d4213d8a8cd8e70d3e784e (patch)
tree693810ee0eccc7ac2a78498f014b2137ab46a1e8
parent934fa658f65d47f78dd724b72f4cfa00382a2ad3 (diff)
downloadaur-2ab542d33ffbd7a5f8d4213d8a8cd8e70d3e784e.tar.gz
Remove install file. It is not needed anymore as fontconfig update is done in post-transactions hooks.
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD3
-rw-r--r--pecita.install20
3 files changed, 1 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 308e0019f1a..b98d9cb7653 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,6 @@ pkgbase = otf-pecita
pkgver = 5.4
pkgrel = 1
url = http://pecita.eu
- install = pecita.install
arch = any
license = custom:OFL
depends = fontconfig
diff --git a/PKGBUILD b/PKGBUILD
index a404e97b07a..bdb1c235a42 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,12 @@
# Contributor: feufochmar <feufochmar.gd@gmail.com>
pkgname=otf-pecita
pkgver=5.4
-pkgrel=1
+pkgrel=2
pkgdesc="A handwritten font with attached letters."
arch=('any')
url="http://pecita.eu"
license=('custom:OFL')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
-install=pecita.install
source=("http://pecita.eu/b/Pecita.otf" "OFL.txt")
package() {
diff --git a/pecita.install b/pecita.install
deleted file mode 100644
index 4f5212ef22b..00000000000
--- a/pecita.install
+++ /dev/null
@@ -1,20 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -f > /dev/null
- 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 $*