From a2fb8ff517d83749ec3b5543aeba805f07ea257d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 6 Aug 2013 01:53:55 -0700 Subject: Tue Aug 6 01:53:08 PDT 2013 --- extra/bzr/PKGBUILD | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'extra/bzr') diff --git a/extra/bzr/PKGBUILD b/extra/bzr/PKGBUILD index beef24350..dce1e73c0 100644 --- a/extra/bzr/PKGBUILD +++ b/extra/bzr/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 168990 2012-10-17 10:19:13Z allan $ +# $Id: PKGBUILD 192090 2013-08-05 19:19:16Z eric $ # Maintainer : # Contributor: Hugo Doria pkgname=bzr -pkgver=2.5.1 -pkgrel=2 +pkgver=2.6.0 +pkgrel=1 pkgdesc="A decentralized revision control system (bazaar)" arch=('i686' 'x86_64') url="http://bazaar.canonical.com/en/" @@ -12,19 +12,23 @@ license=('GPL') depends=('python2') optdepends=('python2-paramiko: for sftp support') source=("http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"{,.sig}) -md5sums=('ac5079858364a046071000d5cdccb67b' - 'c83dd08dd2c3e27edbab873500d7d6eb') +sha1sums=('5eb4d0367c6d83396250165da5bb2c8a9f378293' + 'SKIP') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" +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} +} + +build() { + cd ${pkgname}-${pkgver} python2 setup.py build } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 # bash-completion -- cgit v1.2.3-54-g00ecf