Improve Arch Linux packages

Use simplified syntax and messages, fix package names, ref
HalosGhost/patch-{2,3}.
This commit is contained in:
Kim Silkebækken 2013-07-31 15:24:40 +02:00
parent 0ff02f7b1f
commit 99e0cf57b8
2 changed files with 28 additions and 32 deletions

View File

@ -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() {

View File

@ -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() {