PKGBUILDs/extra/bzr/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
654 B
Bash

# $Id: PKGBUILD 53258 2009-09-27 14:43:13Z hugo $
# Maintainer: Hugo Doria <hugo@archlinux.org>
pkgname=bzr
pkgver=2.0.0
pkgrel=1
pkgdesc="A decentralized revision control system"
arch=('i686' 'x86_64')
url="http://www.bazaar-vcs.org"
license=('GPL')
depends=('python')
source=(http://launchpad.net/bzr/2.0/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
md5sums=('2536b0ef26a5110692e7f32d5a3fd91b')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
sed -i 's|man/man1|share/man/man1|' setup.py
python setup.py install --prefix=/usr --root=${pkgdir}
# bash-completion
install -D -m644 contrib/bash/bzr \
${pkgdir}/etc/bash_completion.d/bzr
}