mirror of
https://github.com/powerline/powerline.git
synced 2025-07-28 08:14:41 +02:00
Improve Arch Linux packages
Use simplified syntax and messages, fix package names, ref HalosGhost/patch-{2,3}.
This commit is contained in:
parent
0ff02f7b1f
commit
99e0cf57b8
@ -2,10 +2,10 @@
|
||||
|
||||
_gitname=powerline
|
||||
_gitbranch=develop
|
||||
pkgname=("python-${_gitname}-git" "powerline-fontpatcher")
|
||||
pkgname=("python-${_gitname}-git" "powerline-fontpatcher-git")
|
||||
pkgbase=powerline
|
||||
pkgver=800.c1ae7f3
|
||||
pkgrel=2
|
||||
pkgver=808.5c88c0a
|
||||
pkgrel=1
|
||||
pkgdesc='The ultimate statusline/prompt utility.'
|
||||
url='https://github.com/Lokaltog/powerline'
|
||||
license=('MIT')
|
||||
@ -37,17 +37,15 @@ prepare() {
|
||||
patch -p1 < ../fontpatcher.py.patch
|
||||
}
|
||||
|
||||
package_powerline-fontpatcher() {
|
||||
pkgdesc='OTF/TTF font patcher for powerline symbols'
|
||||
package_powerline-fontpatcher-git() {
|
||||
pkgdesc='OTF/TTF font patcher for Powerline symbols'
|
||||
depends=('python2' 'fontforge')
|
||||
|
||||
cd "${_gitname}"
|
||||
|
||||
msg2 "Installing fontpatcher..."
|
||||
install -dm755 "${pkgdir}/usr/share/$_gitname"
|
||||
install -dm755 "${pkgdir}/usr/bin"
|
||||
install -m755 "font/fontpatcher.py" "${pkgdir}/usr/bin/"
|
||||
install -m644 "font/fontpatcher-symbols.sfd" "${pkgdir}/usr/share/$_gitname"
|
||||
# Font patcher
|
||||
install -Dm755 "font/fontpatcher.py" "${pkgdir}/usr/bin/powerline-fontpatcher"
|
||||
install -Dm644 "font/fontpatcher-symbols.sfd" "${pkgdir}/usr/share/$_gitname/fontpatcher-symbols.sfd"
|
||||
}
|
||||
|
||||
package_python-powerline-git() {
|
||||
|
@ -2,10 +2,10 @@
|
||||
|
||||
_gitname=powerline
|
||||
_gitbranch=develop
|
||||
pkgname=("python2-${_gitname}-git" "powerline-fontpatcher")
|
||||
pkgname=("python2-${_gitname}-git" "powerline-fontpatcher-git")
|
||||
pkgbase=powerline
|
||||
pkgver=800.c1ae7f3
|
||||
pkgrel=2
|
||||
pkgver=808.5c88c0a
|
||||
pkgrel=1
|
||||
pkgdesc='The ultimate statusline/prompt utility.'
|
||||
url='https://github.com/Lokaltog/powerline'
|
||||
license=('MIT')
|
||||
@ -38,17 +38,15 @@ prepare() {
|
||||
patch -p1 < ../fontpatcher.py.patch
|
||||
}
|
||||
|
||||
package_powerline-fontpatcher() {
|
||||
pkgdesc='OTF/TTF font patcher for powerline symbols'
|
||||
package_powerline-fontpatcher-git() {
|
||||
pkgdesc='OTF/TTF font patcher for Powerline symbols'
|
||||
depends=('python2' 'fontforge')
|
||||
|
||||
cd "${_gitname}"
|
||||
|
||||
msg2 "Installing fontpatcher..."
|
||||
install -dm755 "${pkgdir}/usr/share/$_gitname"
|
||||
install -dm755 "${pkgdir}/usr/bin"
|
||||
install -m755 "font/fontpatcher.py" "${pkgdir}/usr/bin/"
|
||||
install -m644 "font/fontpatcher-symbols.sfd" "${pkgdir}/usr/share/$_gitname"
|
||||
# Font patcher
|
||||
install -Dm755 "font/fontpatcher.py" "${pkgdir}/usr/bin/powerline-fontpatcher"
|
||||
install -Dm644 "font/fontpatcher-symbols.sfd" "${pkgdir}/usr/share/${_gitname}/fontpatcher-symbols.sfd"
|
||||
}
|
||||
|
||||
package_python2-powerline-git() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user