diff options
author | Johannes Dewender | 2015-03-03 21:26:19 +0100 |
---|---|---|
committer | Johannes Dewender | 2015-03-03 21:26:19 +0100 |
commit | a156edeee867e7d4984c15b72dd8ea19cbec3e5b (patch) | |
tree | ed99c15b91894176b00e96a98c1c8fbc9e7b3df3 | |
parent | 40e1236c02413bcbb6f23e11d4df4f6e4a6ddb7d (diff) | |
download | aur-a156edeee867e7d4984c15b72dd8ea19cbec3e5b.tar.gz |
qbzr: fix package
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 24 insertions, 20 deletions
@@ -1,14 +1,13 @@ pkgbase = qbzr pkgdesc = A GUI front end for Bazaar based on the Qt toolkit. pkgver = 0.23.0 - pkgrel = 1 + pkgrel = 2 url = http://wiki.bazaar.canonical.com/QBzr - arch = i686 - arch = x86_64 - license = GPL - depends = python2-pyqt>=4 - depends = bzr - depends = python2 + arch = any + license = GPL2 + depends = python2-pyqt>=4.4 + depends = bzr>=2.6 + depends = python2>=2.4 optdepends = python2-pygments: for syntax highlighting optdepends = python2-pyenchant: for spell checking in commit dialogs source = http://launchpad.net/qbzr/0.23/0.23.0/+download/qbzr-0.23.0.tar.gz @@ -1,30 +1,35 @@ -# Maintainer : sebikul <sebikul@gmail.com> +# Contributor: Johannes Dewender arch at JonnyJD dot net +# Contributor: sebikul <sebikul@gmail.com> #Contributed by Christian Rapp <saedelaere.tv@gmail.com>, based on: #Contributed by Peter Dennis <listen.ppublic@gmail.com>, based on PKGBUILD by: #Contributor: Ariel Kanterewicz <asdkant@gmail.com> pkgname=qbzr pkgver=0.23.0 -pkgrel=1 +pkgrel=2 pkgdesc="A GUI front end for Bazaar based on the Qt toolkit." -arch=('i686' 'x86_64') +arch=('any') url="http://wiki.bazaar.canonical.com/QBzr" -license=('GPL') -depends=('python2-pyqt>=4' 'bzr' 'python2') +license=('GPL2') +depends=('python2-pyqt>=4.4' 'bzr>=2.6' 'python2>=2.4') optdepends=('python2-pygments: for syntax highlighting' 'python2-pyenchant: for spell checking in commit dialogs') source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz") md5sums=('bd000c87e9cfeb78ea6629a4bee65ee5') -build() { - +prepare() { cd ${srcdir}/${pkgname} + # not sure if this is ever executed, but fixed anyways + sed -i -e '1s|python$|python2|' lib/uifactory.py +} - sed -i -e "s=/usr/bin/env python=/usr/bin/env python2=g" ./setup.py - - ./setup.py build || return 1 - - ./setup.py install --prefix=$pkgdir/usr install +build() { + cd ${srcdir}/${pkgname} + python2 setup.py build +} -} +package() { + cd ${srcdir}/${pkgname} + python2 setup.py install --skip-build --prefix=$pkgdir/usr +} |