Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chakra
Packages
core
Commits
e40fc445
Commit
e40fc445
authored
Mar 06, 2016
by
Chaoting Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ttf-ms-font: attempted to fix trouble by install to different directory
parent
b1cd5058
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
ttf-ms-fonts/PKGBUILD
ttf-ms-fonts/PKGBUILD
+2
-4
ttf-ms-fonts/ttf-ms-fonts.install
ttf-ms-fonts/ttf-ms-fonts.install
+2
-2
No files found.
ttf-ms-fonts/PKGBUILD
View file @
e40fc445
...
...
@@ -2,7 +2,7 @@
pkgname
=
ttf-ms-fonts
pkgver
=
2.0
pkgrel
=
5
pkgrel
=
6
pkgdesc
=
"Core TTF Fonts from Microsoft"
arch
=(
'x86_64'
)
url
=
"http://corefonts.sourceforge.net/"
...
...
@@ -23,10 +23,8 @@ md5sums=('cbdc2fdd7d2ed0832795e86a8b9ee19a' '9637df0e91703179f0723ec095a36cb5'
'230a1d13a365b22815f502eb24d9149b'
)
package
()
{
install
-dm755
"
$pkgdir
/usr/share/fonts/TTF"
for
font
in
*
.
{
ttf,TTF
}
;
do
install
-m644
$font
"
$pkgdir
/usr/share/fonts/
TTF
/
$(
echo
$font
|tr A-Z a-z
)
"
install
-
D
m644
$font
"
$pkgdir
/usr/share/fonts/
MS-Font
/
$(
echo
$font
|tr A-Z a-z
)
"
done
install
-Dm644
Licen.TXT
"
$pkgdir
/usr/share/licenses/
$pkgname
/LICENSE"
...
...
ttf-ms-fonts/ttf-ms-fonts.install
View file @
e40fc445
post_install
()
{
echo
-
n
"Updating font cache... "
fc
-
cache
-
f
>
/
dev
/
null
mkfontscale
/
usr
/
share
/
fonts
/
TTF
mkfontdir
/
usr
/
share
/
fonts
/
TTF
mkfontscale
/
usr
/
share
/
fonts
/
MS
-
Font
mkfontdir
/
usr
/
share
/
fonts
/
MS
-
Font
echo
"done."
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment