updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bzr-fastimport-deleted-entries-fix / PKGBUILD
blob58c58cb521b56fe1b8aa8a8d98519820e67861c4
1 # Contributor: Nuno Araujo <nuno.araujo@russo79.com>
2 # Contributor: Mario Danic <mario.danic>
3 # Contributor: Kambus
5 _pkgname=bzr-fastimport
6 pkgname=bzr-fastimport-deleted-entries-fix
7 pkgver=0.10.0
8 pkgrel=1
9 pkgdesc="Fast loading of revision control data into Bazaar. (renames fix)"
10 arch=(i686 x86_64)
11 url="https://launchpad.net/${_pkgname}"
12 license=('GNU GPL v2' 'MIT')
13 groups=(bzr)
14 conflicts=(${_pkgname} bzr-fastimport bzr-fastimport-bzr bzr-fastimport-russo79-bzr)
15 provides=(${_pkgname})
16 depends=('python2' 'setuptools' 'bzr' 'python2-fastimport-bzr')
17 makedepends=('bzr')
18 source=(http://launchpad.net/${_pkgname}/trunk/${pkgver}/+download/${_pkgname}-${pkgver}.tar.gz
19         fix-deleted-entries-in-renamed-directory.patch)
21 md5sums=('ed9dba180cd73e5fc312bc75c30a56d1'
22          '56ee25c40eac18fa543a8ee45d6a957d')
24 build() {
25   cd ${srcdir}/${_pkgname}-${pkgver}
27   patch -Np1 -i ${srcdir}/fix-deleted-entries-in-renamed-directory.patch
29   python2 setup.py install --prefix'=/usr' --root=${pkgdir} || return 1