Date: Wednesday, February 17, 2016 @ 22:10:57 Author: alucryd Revision: 259933
upgpkg: bzr 2.7.0-1 Modified: bzr/trunk/PKGBUILD ----------+ PKGBUILD | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-02-17 21:10:12 UTC (rev 259932) +++ PKGBUILD 2016-02-17 21:10:57 UTC (rev 259933) @@ -1,38 +1,41 @@ # $Id$ -# Maintainer : +# Maintainer : Maxime Gauduin <aluc...@archlinux.org> # Contributor: Hugo Doria <h...@archlinux.org> pkgname=bzr -pkgver=2.6.0 +pkgver=2.7.0 pkgrel=1 -pkgdesc="A decentralized revision control system (bazaar)" +pkgdesc='A decentralized revision control system (bazaar)' arch=('i686' 'x86_64') -url="http://bazaar.canonical.com/en/" +url='http://bazaar.canonical.com/' license=('GPL') depends=('python2') -optdepends=('python2-paramiko: for sftp support') -source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"{,.sig}) -sha1sums=('5eb4d0367c6d83396250165da5bb2c8a9f378293' - 'SKIP') -validpgpkeys=('84736900600FF95EF23513F52975A150DEF6218F') # Vincent Ladeuil +optdepends=('python2-paramiko: SFTP support') +source=("http://launchpad.net/bzr/${pkgver%.*}/${pkgver}/+download/bzr-${pkgver}.tar.gz"{,.sig}) +sha256sums=('0d451227b705a0dd21d8408353fe7e44d3a5069e6c4c26e5f146f1314b8fdab3' + 'SKIP') +validpgpkeys=('84736900600FF95EF23513F52975A150DEF6218F') # Vincent Ladeuil prepare() { - cd ${pkgname}-${pkgver} - sed -i 's|man/man1|share/man/man1|' setup.py - sed -i '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} + cd bzr-${pkgver} + + sed 's|man/man1|share/man/man1|' -i setup.py + sed 's|/usr/bin/env python|/usr/bin/env python2|' -i bzrlib/{plugins/bash_completion/bashcomp.py,tests/ssl_certs/create_ssls.py,patiencediff.py,_patiencediff_py.py} } build() { - cd ${pkgname}-${pkgver} + cd bzr-${pkgver} + python2 setup.py build } package() { - cd ${pkgname}-${pkgver} - python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + cd bzr-${pkgver} - # bash-completion - install -D -m644 contrib/bash/bzr \ - "${pkgdir}/usr/share/bash-completion/completions/bzr" + python2 setup.py install --prefix='/usr' --root="${pkgdir}" --optimize='1' + + install -dm 755 "${pkgdir}"/usr/share/bash-completion/completions + install -m 644 contrib/bash/bzr "${pkgdir}"/usr/share/bash-completion/completions/ } + +# vim: ts=2 sw=2 et: