mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 03:04:36 +08:00
23 lines
653 B
Bash
23 lines
653 B
Bash
|
# $Id: PKGBUILD 82564 2010-08-09
|
||
|
# Contributer: Joshua L. Blocher <verbalshadow@gmail.com>
|
||
|
|
||
|
pkgname=bzr
|
||
|
pkgver=2.2.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="A decentralized revision control system (bazaar)"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.bazaar-vcs.org"
|
||
|
license=('GPL')
|
||
|
depends=('python')
|
||
|
source=(http://launchpad.net/bzr/2.2/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz)
|
||
|
md5sums=('e47fa50e1fedc01c4761925e9d0d39ac')
|
||
|
|
||
|
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
|
||
|
}
|