desktop/qbzr/PKGBUILD
2016-08-12 13:55:29 +02:00

29 lines
804 B
Bash

pkgname=qbzr
_pkgver=0.23
pkgver=${_pkgver}.2
pkgrel=1
pkgdesc="A GUI front end for Bazaar based on the Qt toolkit."
arch=('x86_64')
url="http://wiki.bazaar-vcs.org/QBzr"
license=('GPL')
depends=('python2-pyqt4' 'bzr')
categories=('programming')
source=("http://launchpad.net/${pkgname}/${_pkgver}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz")
screenshot='http://doc.bazaar.canonical.com/explorer/en/_images/dialog-annotate2.png'
sha1sums=('e39551395894a2f4b5466384e6ae12c52de02ef7')
prepare() {
cd ${srcdir}/${pkgname}
# not sure if this is ever executed, but fixed anyways
sed -i -e '1s|python$|python2|' lib/uifactory.py
}
build() {
cd ${srcdir}/$pkgname
python2 setup.py build
}
package() {
cd ${srcdir}/$pkgname
python2 setup.py install --skip-build --prefix=$pkgdir/usr
}