[arch-commits] Commit in font-mathematica/trunk (PKGBUILD font.install)
Sergej Pupykin
spupykin at archlinux.org
Mon Jan 23 17:19:17 UTC 2017
Date: Monday, January 23, 2017 @ 17:19:16
Author: spupykin
Revision: 208609
upgpkg: font-mathematica 9.0-5
upd
Modified:
font-mathematica/trunk/PKGBUILD
Deleted:
font-mathematica/trunk/font.install
--------------+
PKGBUILD | 7 +++----
font.install | 15 ---------------
2 files changed, 3 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-23 17:19:09 UTC (rev 208608)
+++ PKGBUILD 2017-01-23 17:19:16 UTC (rev 208609)
@@ -5,7 +5,7 @@
pkgname=font-mathematica
pkgver=9.0
-pkgrel=4
+pkgrel=5
pkgdesc="Mathematica fonts by Wolfram Research, Inc."
arch=('any')
url="http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.html"
@@ -13,12 +13,11 @@
makedepends=('unzip')
conflicts=('ttf-mathematica')
replaces=('ttf-mathematica')
-install=font.install
license=('custom')
source=($pkgname-$pkgver.tar.gz::http://support.wolfram.com/kb/data/uploads/2012/11/Fonts.tar.gz
license.txt)
-md5sums=('59220bcb9360e3b6886406cb66d750d8'
- '4d95629d78541826cb543764c8025c0b')
+sha256sums=('9ca5c1855d6e2a0923de09e659d768cd4e732b0bba270d9cf47f1b4b409c340c'
+ '0484ea624c4d93967e9c8132c68fc495f42906dbcebc5ae01bb25cb4eb216e91')
package() {
cd "$srcdir"/Fonts/
Deleted: font.install
===================================================================
--- font.install 2017-01-23 17:19:09 UTC (rev 208608)
+++ font.install 2017-01-23 17:19:16 UTC (rev 208609)
@@ -1,15 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -s > /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
-}
More information about the arch-commits
mailing list