updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / bzr-explorer / PKGBUILD
blob60bb99e2c9266a4bdc0f6f678f792df9369c9bed
1 # Contributor: Martin Stolpe <martinstolpe [at] gmail ... com>
2 pkgname=bzr-explorer
3 _majorver=1.2
4 pkgver=${_majorver}.1
5 pkgrel=1
6 pkgdesc="A desktop application for using the Bazaar Version Control System"
7 arch=('i686' 'x86_64')
8 url="https://launchpad.net/bzr-explorer"
9 license=('GPL')
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)
14 build() {
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')