diff options
author | Alex Merry | 2020-07-02 22:38:29 +0100 |
---|---|---|
committer | Alex Merry | 2020-07-02 22:38:29 +0100 |
commit | 5a129f04dfce0e38241c3f8fee24eb278c2bcf44 (patch) | |
tree | cf70aee283a2b360980462339b6ea12e9ee8a587 | |
parent | 89294105916eaa11465651effdbacedb398d3c5d (diff) | |
download | aur-ttf-mathtype.tar.gz |
Update to meet current font packaging guidelines
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | ttf.install | 20 |
3 files changed, 3 insertions, 27 deletions
@@ -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 @@ -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 $* |