summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD4
-rw-r--r--ttf-win7-fonts.install21
3 files changed, 5 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 99454ff0ae2..5f18364c5c2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
+# Generated by mksrcinfo v8
+# Thu May 4 00:01:19 UTC 2017
pkgbase = ttf-win7-fonts
pkgdesc = Microsoft Windows 7 Latin and International TrueType fonts
pkgver = 7.1
pkgrel = 9
url = http://www.microsoft.com/typography/fonts/product.aspx?PID=161
- install = ttf-win7-fonts.install
arch = any
license = custom
makedepends = fontforge
@@ -28,7 +29,7 @@ pkgbase = ttf-win7-fonts
source = 20-ttf-win7-fonts-korean.conf
source = 20-ttf-win7-fonts-zh_cn.conf
source = 20-ttf-win7-fonts-zh_tw.conf
- source = http://downloads.sourceforge.net/corefonts/andale32.exe
+ source = https://downloads.sourceforge.net/corefonts/andale32.exe
sha256sums = 096cdd18e26b2b3d8cf0b3ec6a1ffb5b0eaae0fcc2105e3c145f19037a42d467
sha256sums = 32d534a6f469c8fc5613fcc5cc0934670da470036a94aa21c6f73c2a0f1ab19e
sha256sums = 4c46d930ac139018dff8d00695950251fb5b4306f38a625f0d3ac20b9f3c08e4
diff --git a/PKGBUILD b/PKGBUILD
index 9e35d4eb82a..52157f0279f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -172,8 +172,8 @@ if [ "${_opt_ConvertTTC}" -ne 0 ]; then
fi
provides=('ttf-font' 'ttf-ms-fonts' 'ttf-tahoma' 'ttf-vista-fonts')
conflicts=('ttf-ms-fonts' 'ttf-tahoma' 'ttf-vista-fonts' 'ttf-ms-win8' 'ttf-win7-fonts-autodownload')
-install="${pkgbase}.install"
-_sfpath="http://downloads.sourceforge.net/corefonts"
+#install="${pkgbase}.install"
+_sfpath="https://downloads.sourceforge.net/corefonts"
source=('license.rtf' 'FONTVER.pl' "20-${_pkgbase}-"{latin,japanese,korean,zh_cn,zh_tw}'.conf')
source+=("${_sfpath}/andale32.exe") # "${_sfpath}/arialb32.exe")
unset _sfpath
diff --git a/ttf-win7-fonts.install b/ttf-win7-fonts.install
deleted file mode 100644
index a2baaf67d3a..00000000000
--- a/ttf-win7-fonts.install
+++ /dev/null
@@ -1,21 +0,0 @@
-## arg 1: the new package version
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -f > /dev/null
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "done."
-}
-
-## arg 1: the new package version
-## arg 2: the old package version
-post_upgrade() {
- post_install "$1"
-}
-
-## arg 1: the old package version
-post_remove() {
- post_install "$1"
-}
-
-# vim:set ts=2 sw=2 et: