blob: f478e09b7f2b1f79b872efa0dd7ff0553e3f48c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD 174964 2013-01-09 16:03:42Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
pkgbase=python-egenix-mx-base
pkgname=('python2-egenix-mx-base')
_origname=egenix-mx-base
pkgver=3.2.5
pkgrel=1
pkgdesc="A collection of Python tools"
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.egenix.com/products/python/mxBase/"
makedepends=('python2')
conflicts=('python-egenix-mx-base<=3.2.4-1')
replaces=('python-egenix-mx-base<=3.2.4-1')
source=("http://downloads.egenix.com/python/${_origname}-${pkgver}.tar.gz")
sha1sums=('d64607ff3bdd0c908f1f4ce39d458514135c9a86')
build() {
cd "${srcdir}/${_origname}-${pkgver}"
find . -name \*.py -exec sed -i -e "s|^#!.*python|#!/usr/bin/python2|" {} \;
python2 setup.py build
}
package_python2-egenix-mx-base() {
depends=('python2>=2.7')
cd "${srcdir}/${_origname}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
install -D -m644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
|