mirror of
https://github.com/powerline/powerline.git
synced 2025-07-25 23:05:32 +02:00
Fix issues with the Arch Linux PKGBUILD
This commit is contained in:
parent
7a7c971bd1
commit
ee0acef49c
@ -1,17 +1,17 @@
|
|||||||
# Maintainer: Kim Silkebækken <kim.silkebaekken+aur@gmail.com>
|
# Maintainer: Kim Silkebækken <kim.silkebaekken+aur@gmail.com>
|
||||||
|
|
||||||
pkgname=powerline-git
|
pkgname=powerline-git
|
||||||
pkgver=20121217
|
pkgver=20130102
|
||||||
pkgrel=1
|
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=('CC BY-SA 3.0')
|
license=('CC BY-SA 3.0')
|
||||||
arch=('any')
|
arch=('any')
|
||||||
depends=('vim' 'python2>=2.7')
|
depends=('python2>=2.7')
|
||||||
makedepends=('git')
|
makedepends=('git' 'python2-distribute')
|
||||||
source=()
|
source=()
|
||||||
|
|
||||||
_gitroot="git://github.com/Lokaltog/powerline.git"
|
_gitroot="https://github.com/Lokaltog/powerline.git"
|
||||||
_gitname="powerline"
|
_gitname="powerline"
|
||||||
_gitbranch="develop"
|
_gitbranch="develop"
|
||||||
|
|
||||||
@ -21,17 +21,17 @@ build() {
|
|||||||
msg "Connecting to GitHub..."
|
msg "Connecting to GitHub..."
|
||||||
|
|
||||||
if [ -d ${srcdir}/${_gitname} ]; then
|
if [ -d ${srcdir}/${_gitname} ]; then
|
||||||
cd ${_gitname} && git pull origin ${_gitbranch}
|
cd ${_gitname}
|
||||||
|
git pull origin ${_gitbranch}
|
||||||
msg "The local files are updated."
|
msg "The local files are updated."
|
||||||
else
|
else
|
||||||
git clone ${_gitroot}
|
git clone ${_gitroot}
|
||||||
|
cd ${_gitname}
|
||||||
git checkout ${_gitbranch}
|
git checkout ${_gitbranch}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg "Git checkout done or server timeout."
|
msg "Git checkout done or server timeout."
|
||||||
|
|
||||||
cd ${srcdir}/${_gitname}
|
|
||||||
|
|
||||||
python2 setup.py build || return 1
|
python2 setup.py build || return 1
|
||||||
python2 setup.py install --root=${pkgdir} || return 1
|
python2 setup.py install --root=${pkgdir} || return 1
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user