mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-23 18:14:54 +08:00
Updating bzr to 2.5.1.
This commit is contained in:
parent
3e11f125b4
commit
f895f4bc91
14
bzr/PKGBUILD
14
bzr/PKGBUILD
@ -6,23 +6,23 @@
|
|||||||
# Contributer: Joshua L. Blocher <verbalshadow@gmail.com>
|
# Contributer: Joshua L. Blocher <verbalshadow@gmail.com>
|
||||||
|
|
||||||
pkgname=bzr
|
pkgname=bzr
|
||||||
pkgver=2.4.2
|
pkgver=2.5.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A decentralized revision control system (bazaar)"
|
pkgdesc="Bazaar is a version control system that helps you track project history over time and to collaborate easily with others."
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://bazaar.canonical.com/en/"
|
url="http://bazaar.canonical.com/en/"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('python2')
|
depends=('python2')
|
||||||
optdepends=('python-paramiko: for sftp support')
|
optdepends=('python-paramiko: for sftp support')
|
||||||
source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
||||||
md5sums=('cfc06fddd348445c65a247c0b33a05db'
|
md5sums=('ac5079858364a046071000d5cdccb67b'
|
||||||
'90294e34a45df20b16be47a32c800c89')
|
'c83dd08dd2c3e27edbab873500d7d6eb')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
sed -i 's|man/man1|share/man/man1|' setup.py
|
sed -i 's|man/man1|share/man/man1|' setup.py
|
||||||
sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
|
sed -e 's|/usr/bin/env python|/usr/bin/env python2|' \
|
||||||
bzrlib/{plugins/bash_completion/bashcomp.py,tests/ssl_certs/create_ssls.py,patiencediff.py,_patiencediff_py.py}
|
-i bzrlib/{plugins/bash_completion/bashcomp.py,tests/ssl_certs/create_ssls.py,patiencediff.py,_patiencediff_py.py}
|
||||||
python2 setup.py build
|
python2 setup.py build
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -33,3 +33,5 @@ package() {
|
|||||||
# bash-completion
|
# bash-completion
|
||||||
install -D -m644 contrib/bash/bzr "${pkgdir}/etc/bash_completion.d/bzr"
|
install -D -m644 contrib/bash/bzr "${pkgdir}/etc/bash_completion.d/bzr"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
||||||
|
Loading…
Reference in New Issue
Block a user