summaryrefslogtreecommitdiff
path: root/extra/python-egenix-mx-base/PKGBUILD
blob: 3ef1b6b16256ab1cdda1b1bb53100c638b7d0e45 (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
# $Id: PKGBUILD 126581 2011-06-06 10:49:23Z stephane $
# Maintainer:
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>

pkgname=python-egenix-mx-base
origname=egenix-mx-base
pkgver=3.2.0
pkgrel=1
pkgdesc="A collection of Python tools"
arch=('i686' 'x86_64')
license=('custom')
url="http://www.egenix.com/products/python/mxBase/"
depends=('python2')
makedepends=('python2-distribute')
replaces=('egenix-mx-base')
provides=('egenix-mx-base')
source=("http://downloads.egenix.com/python/${origname}-${pkgver}.tar.gz")
sha1sums=('7346268002461512ef59da726047f79649a82b27')

build() {
  cd "${srcdir}/${origname}-${pkgver}"
  python2 setup.py build
}

package() {
  cd "${srcdir}/${origname}-${pkgver}"
  python2 setup.py install --root="${pkgdir}" --skip-build --optimize=1
  install -D -m644 COPYRIGHT "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}