1 # Contributor: Martin Stolpe <martinstolpe [at] gmail ... com>
6 pkgdesc="A desktop application for using the Bazaar Version Control System"
8 url="https://launchpad.net/bzr-explorer"
10 depends=("python2>=2.4" "python2-pyqt>=4.4" "bzr>=2.3" "qbzr>=0.18" "hicolor-icon-theme")
11 install="${pkgname}.install"
12 source=(http://launchpad.net/bzr-explorer/${_majorver}/$pkgver/+download/$pkgname-$pkgver.tar.gz)
15 cd "${srcdir}/${pkgname}-${pkgver}/"
16 python2 setup.py install --prefix'=/usr' --root="${startdir}/pkg"
18 install -D -m 644 ${srcdir}/${pkgname}-${pkgver}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
19 sed -i 's/#Icon/Icon/g' ${pkgdir}/usr/share/applications/${pkgname}.desktop
21 install -D -m 644 ${srcdir}/${pkgname}-${pkgver}/data/bzr-16.png ${pkgdir}/usr/share/icons/hicolor/16x16/apps/bzr.png
22 install -D -m 644 ${srcdir}/${pkgname}-${pkgver}/data/bzr-32.png ${pkgdir}/usr/share/icons/hicolor/32x32/apps/bzr.png
23 install -D -m 644 ${srcdir}/${pkgname}-${pkgver}/data/bzr-48.png ${pkgdir}/usr/share/icons/hicolor/48x48/apps/bzr.png
25 md5sums=('bc49768098bb2a0f53c265f7105cb49c')