mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
804 B
Bash
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
|
|
}
|