1 # Maintainer: Thomas Dziedzic < gostrc at gmail >
6 pkgdesc='Package for deltarpms'
9 url='http://gitorious.org/deltarpm/deltarpm'
10 depends=('python-lxml' 'rpm' 'yum')
12 _gitroot='git://gitorious.org/deltarpm/deltarpm.git'
16 if [ -d ${_gitname} ] ; then
20 git clone ${_gitroot} ${_gitname}
25 #find -type f -exec sed -i -e 's_#!/usr/bin/python_&2_' -e 's_python -c_python2 -c_' -e 's_PYTHON=python_&2_' {} \;
26 sed -i -e 's_usr/local_usr_' -e 's/python python3/python2 python3/' Makefile
34 make DESTDIR=${pkgdir} install
36 install -D -m644 LICENSE.BSD \
37 ${pkgdir}/usr/share/licenses/deltarpm-git/LICENSE.BSD