summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD5
-rw-r--r--ttf.install20
3 files changed, 3 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9b2e8b20fd29..2e0467c1ef70 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,11 @@
pkgbase = ttf-mathtype
pkgdesc = Fonts supplied with MathType
pkgver = 6.9
- pkgrel = 1
+ pkgrel = 2
url = http://www.dessci.com/en/dl/fonts/
- install = ttf.install
arch = any
license = custom
makedepends = cabextract
- depends = fontconfig
- depends = xorg-font-utils
noextract = DS_Fonts_6.9_(TT).exe
noextract = DS_Fonts_6.9_(PS).exe
source = http://www.dessci.com/en/dl/DS_Fonts_6.9_(TT).exe
diff --git a/PKGBUILD b/PKGBUILD
index ca51dcb1ceb6..9daa4ea9ac59 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,13 @@
pkgname=ttf-mathtype
pkgver=6.9
-pkgrel=1
+pkgrel=2
pkgdesc="Fonts supplied with MathType"
url="http://www.dessci.com/en/dl/fonts/"
-depends=('fontconfig' 'xorg-font-utils')
+depends=()
makedepends=('cabextract')
arch=('any')
license=('custom')
-install=ttf.install
source=("http://www.dessci.com/en/dl/DS_Fonts_${pkgver}_(TT).exe"
"http://www.dessci.com/en/dl/DS_Fonts_${pkgver}_(PS).exe"
'license.txt')
diff --git a/ttf.install b/ttf.install
deleted file mode 100644
index be90084ca50b..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 /usr/share/fonts/Type1
- mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1
- echo "done."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
-
-op=$1
-shift
-
-$op $*