1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
2 # Contributor: Chris Tusa <linisys@gmail.com>
7 pkgdesc='A tool to create yum repositories from ArchLinux systems.'
10 url='http://createrepo.baseurl.org'
11 depends=('python-lxml' 'rpm' 'yum')
12 source=("http://createrepo.baseurl.org/download/createrepo-${pkgver}.tar.gz")
13 md5sums=('10641f19a40e9f633b300e23dde00349')
16 cd createrepo-${pkgver}
19 find -type f -exec sed -i -e 's_#!/usr/bin/python_&2_' -e 's_python -c_python2 -c_' -e 's_PYTHON=python_&2_' {} \;
25 cd createrepo-${pkgver}
27 make DESTDIR=${pkgdir} install