1 # Contributor: Nuno Araujo <nuno.araujo@russo79.com>
2 # Contributor: Mario Danic <mario.danic>
5 _pkgname=bzr-fastimport
6 pkgname=bzr-fastimport-deleted-entries-fix
9 pkgdesc="Fast loading of revision control data into Bazaar. (renames fix)"
11 url="https://launchpad.net/${_pkgname}"
12 license=('GNU GPL v2' 'MIT')
14 conflicts=(${_pkgname} bzr-fastimport bzr-fastimport-bzr bzr-fastimport-russo79-bzr)
15 provides=(${_pkgname})
16 depends=('python2' 'setuptools' 'bzr' 'python2-fastimport-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')
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