Merge branch 'improve-archlinux-packages' into develop
This commit is contained in:
commit
432fb81e42
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
_gitname=powerline
|
_gitname=powerline
|
||||||
_gitbranch=develop
|
_gitbranch=develop
|
||||||
pkgname=("python-${_gitname}-git" "powerline-fontpatcher")
|
pkgname=("python-${_gitname}-git" "powerline-fontpatcher-git")
|
||||||
pkgbase=powerline
|
pkgbase=powerline
|
||||||
pkgver=800.c1ae7f3
|
pkgver=808.5c88c0a
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc='The ultimate statusline/prompt utility.'
|
pkgdesc='The ultimate statusline/prompt utility.'
|
||||||
url='https://github.com/Lokaltog/powerline'
|
url='https://github.com/Lokaltog/powerline'
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
|
@ -37,17 +37,15 @@ prepare() {
|
||||||
patch -p1 < ../fontpatcher.py.patch
|
patch -p1 < ../fontpatcher.py.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
package_powerline-fontpatcher() {
|
package_powerline-fontpatcher-git() {
|
||||||
pkgdesc='OTF/TTF font patcher for powerline symbols'
|
pkgdesc='OTF/TTF font patcher for Powerline symbols'
|
||||||
depends=('python2' 'fontforge')
|
depends=('python2' 'fontforge')
|
||||||
|
|
||||||
cd "${_gitname}"
|
cd "${_gitname}"
|
||||||
|
|
||||||
msg2 "Installing fontpatcher..."
|
# Font patcher
|
||||||
install -dm755 "${pkgdir}/usr/share/$_gitname"
|
install -Dm755 "font/fontpatcher.py" "${pkgdir}/usr/bin/powerline-fontpatcher"
|
||||||
install -dm755 "${pkgdir}/usr/bin"
|
install -Dm644 "font/fontpatcher-symbols.sfd" "${pkgdir}/usr/share/$_gitname/fontpatcher-symbols.sfd"
|
||||||
install -m755 "font/fontpatcher.py" "${pkgdir}/usr/bin/"
|
|
||||||
install -m644 "font/fontpatcher-symbols.sfd" "${pkgdir}/usr/share/$_gitname"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_python-powerline-git() {
|
package_python-powerline-git() {
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
_gitname=powerline
|
_gitname=powerline
|
||||||
_gitbranch=develop
|
_gitbranch=develop
|
||||||
pkgname=("python2-${_gitname}-git" "powerline-fontpatcher")
|
pkgname=("python2-${_gitname}-git" "powerline-fontpatcher-git")
|
||||||
pkgbase=powerline
|
pkgbase=powerline
|
||||||
pkgver=800.c1ae7f3
|
pkgver=808.5c88c0a
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc='The ultimate statusline/prompt utility.'
|
pkgdesc='The ultimate statusline/prompt utility.'
|
||||||
url='https://github.com/Lokaltog/powerline'
|
url='https://github.com/Lokaltog/powerline'
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
|
@ -38,17 +38,15 @@ prepare() {
|
||||||
patch -p1 < ../fontpatcher.py.patch
|
patch -p1 < ../fontpatcher.py.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
package_powerline-fontpatcher() {
|
package_powerline-fontpatcher-git() {
|
||||||
pkgdesc='OTF/TTF font patcher for powerline symbols'
|
pkgdesc='OTF/TTF font patcher for Powerline symbols'
|
||||||
depends=('python2' 'fontforge')
|
depends=('python2' 'fontforge')
|
||||||
|
|
||||||
cd "${_gitname}"
|
cd "${_gitname}"
|
||||||
|
|
||||||
msg2 "Installing fontpatcher..."
|
# Font patcher
|
||||||
install -dm755 "${pkgdir}/usr/share/$_gitname"
|
install -Dm755 "font/fontpatcher.py" "${pkgdir}/usr/bin/powerline-fontpatcher"
|
||||||
install -dm755 "${pkgdir}/usr/bin"
|
install -Dm644 "font/fontpatcher-symbols.sfd" "${pkgdir}/usr/share/${_gitname}/fontpatcher-symbols.sfd"
|
||||||
install -m755 "font/fontpatcher.py" "${pkgdir}/usr/bin/"
|
|
||||||
install -m644 "font/fontpatcher-symbols.sfd" "${pkgdir}/usr/share/$_gitname"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package_python2-powerline-git() {
|
package_python2-powerline-git() {
|
||||||
|
|
Loading…
Reference in New Issue