summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfelix2017-05-10 12:23:57 +0200
committerfelix2017-05-10 12:23:57 +0200
commit8270445f6823d3bfbd060f9a1873b13a29c5bfcd (patch)
treeb2370f3b7d1b17df57b5967b5fc5f157f514a7cb
parent44a28fbaa981953f76f7ffb29e9275869f2348f9 (diff)
downloadaur-8270445f6823d3bfbd060f9a1873b13a29c5bfcd.tar.gz
Remove install script, now serviced by libalpm hooks
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD3
-rw-r--r--ttf.install20
3 files changed, 1 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1ae37c1380e5..bb1d3569a3a0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,12 +3,8 @@ pkgbase = ttf-unifont-csur
pkgver = 9.0.06
pkgrel = 1
url = http://unifoundry.com/unifont.html
- install = ttf.install
arch = any
license = GPL
- depends = fontconfig
- depends = xorg-fonts-encodings
- depends = xorg-font-utils
depends = ttf-unifont
source = http://unifoundry.com/pub/unifont-9.0.06/font-builds/unifont_csur-9.0.06.ttf
source = http://unifoundry.com/pub/unifont-9.0.06/font-builds/unifont_csur-9.0.06.ttf.sig
diff --git a/PKGBUILD b/PKGBUILD
index bc26a3cc471f..f878ca89409b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,8 +7,7 @@ pkgdesc="TrueType part of the GNU Unifont containing Michael Everson's ConScript
url="http://unifoundry.com/unifont.html"
arch=('any')
license=('GPL')
-depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils' 'ttf-unifont')
-install=ttf.install
+depends=('ttf-unifont')
source=(
"http://unifoundry.com/pub/unifont-$pkgver/font-builds/unifont_csur-$pkgver.ttf"{,.sig}
)
diff --git a/ttf.install b/ttf.install
deleted file mode 100644
index 4f5212ef22ba..000000000000
--- a/ttf.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 $*