parent
14c4ba45b3
commit
18813c5f06
|
@ -1,3 +1,4 @@
|
|||
*
|
||||
!.gitignore
|
||||
!PKGBUILD
|
||||
!*.install
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Kim Silkebækken <kim.silkebaekken+aur@gmail.com>
|
||||
|
||||
pkgname=powerline-git
|
||||
pkgver=20130102
|
||||
pkgver=20130118
|
||||
pkgrel=1
|
||||
pkgdesc='The ultimate statusline/prompt utility.'
|
||||
url='https://github.com/Lokaltog/powerline'
|
||||
|
@ -9,6 +9,7 @@ license=('CC BY-SA 3.0')
|
|||
arch=('any')
|
||||
depends=('python2>=2.7')
|
||||
makedepends=('git' 'python2-distribute')
|
||||
install='powerline.install'
|
||||
source=()
|
||||
|
||||
_gitroot="https://github.com/Lokaltog/powerline.git"
|
||||
|
@ -34,4 +35,7 @@ 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"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
post_install() {
|
||||
echo "Updating font cache..."
|
||||
fc-cache -f
|
||||
|
||||
echo "
|
||||
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).
|
||||
"
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
echo "Updating font cache..."
|
||||
fc-cache -f
|
||||
}
|
Loading…
Reference in New Issue