From ee0acef49cae20129efa466fefe55c7e803cbad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20Silkeb=C3=A6kken?= Date: Wed, 2 Jan 2013 09:09:05 +0100 Subject: [PATCH] Fix issues with the Arch Linux PKGBUILD --- package/PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package/PKGBUILD b/package/PKGBUILD index 859a0005..a550a8da 100644 --- a/package/PKGBUILD +++ b/package/PKGBUILD @@ -1,17 +1,17 @@ # Maintainer: Kim Silkebækken pkgname=powerline-git -pkgver=20121217 +pkgver=20130102 pkgrel=1 pkgdesc='The ultimate statusline/prompt utility.' url='https://github.com/Lokaltog/powerline' license=('CC BY-SA 3.0') arch=('any') -depends=('vim' 'python2>=2.7') -makedepends=('git') +depends=('python2>=2.7') +makedepends=('git' 'python2-distribute') source=() -_gitroot="git://github.com/Lokaltog/powerline.git" +_gitroot="https://github.com/Lokaltog/powerline.git" _gitname="powerline" _gitbranch="develop" @@ -21,17 +21,17 @@ build() { msg "Connecting to GitHub..." if [ -d ${srcdir}/${_gitname} ]; then - cd ${_gitname} && git pull origin ${_gitbranch} + cd ${_gitname} + git pull origin ${_gitbranch} msg "The local files are updated." else git clone ${_gitroot} + cd ${_gitname} git checkout ${_gitbranch} fi msg "Git checkout done or server timeout." - cd ${srcdir}/${_gitname} - python2 setup.py build || return 1 python2 setup.py install --root=${pkgdir} || return 1 }