mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
25 lines
767 B
Bash
25 lines
767 B
Bash
# Maintainer: Sebastien Leduc <sebastien@sleduc.fr>
|
|
# Contributor: ponsfoot <cabezon dot hashimoto at gmail dot com>
|
|
|
|
pkgname=python2-paver
|
|
pkgver=1.2.3
|
|
pkgrel=1
|
|
pkgdesc="Build, Distribute and Deploy Python Projects"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.blueskyonmars.com/projects/paver/"
|
|
license=('BSD')
|
|
depends=('python2')
|
|
source=("http://pypi.python.org/packages/source/P/Paver/Paver-${pkgver}.tar.gz")
|
|
md5sums=('81879832d7ff8c4a871420756fa7f550')
|
|
|
|
package() {
|
|
cd "${srcdir}/Paver-${pkgver}"
|
|
python2 setup.py install --prefix="${pkgdir}/usr"
|
|
install -D "${srcdir}/Paver-${pkgver}/LICENSE.txt" \
|
|
"${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
|
|
# fix python3 conflict
|
|
for _f in "$pkgdir"/usr/bin/*; do
|
|
mv -v "$_f" "${_f}2"
|
|
done
|
|
}
|