mirror of
https://github.com/powerline/powerline.git
synced 2025-07-21 12:54:58 +02:00
Improve font installation in Arch Linux package
This commit is contained in:
parent
2ace41857f
commit
1637a1312f
@ -36,6 +36,11 @@ build() {
|
||||
python2 setup.py build || return 1
|
||||
python2 setup.py install --root=${pkgdir} || return 1
|
||||
|
||||
install -d "${pkgdir}/usr/share/fonts/TTF/"
|
||||
install -m644 "powerline/fontpatcher/PowerlineSymbols.otf" "${pkgdir}/usr/share/fonts/TTF/PowerlineSymbols.otf"
|
||||
install -dm755 "${pkgdir}/usr/share/fonts/TTF/"
|
||||
install -dm755 "${pkgdir}/etc/fonts/conf.avail"
|
||||
install -dm755 "${pkgdir}/etc/fonts/conf.d"
|
||||
|
||||
install -m644 "font/PowerlineSymbols.otf" "${pkgdir}/usr/share/fonts/TTF/PowerlineSymbols.otf"
|
||||
install -m644 "font/10-powerline-symbols.conf" "${pkgdir}/etc/fonts/conf.avail/10-powerline-symbols.conf"
|
||||
ln -s "../conf.avail/10-powerline-symbols.conf" "${pkgdir}/etc/fonts/conf.d/10-powerline-symbols.conf"
|
||||
}
|
||||
|
@ -6,12 +6,15 @@ post_install() {
|
||||
IMPORTANT
|
||||
---------
|
||||
|
||||
Powerline requires custom glyphs to work properly. A font with these symbols
|
||||
has been installed, and Powerline may work out of the box for you. If it
|
||||
doesn't, please see the font installation instructions at
|
||||
http://lokaltog.github.com/powerline/overview.html#font-installation for more
|
||||
details (you can skip the first steps since the font has already been
|
||||
installed on your system).
|
||||
Powerline requires custom glyphs to work properly. A font with these glyphs has
|
||||
been installed along with a fontconfig file which enables the glyphs for many
|
||||
common coding fonts.
|
||||
|
||||
If Powerline doesn't work out of the box on your system, please submit an issue
|
||||
on GitHub: https://github.com/Lokaltog/powerline/issues
|
||||
|
||||
Consult the documentation for detailed installation instructions and
|
||||
troubleshooting information: http://lokaltog.github.com/powerline/
|
||||
"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user