updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / python-phreeqpy / PKGBUILD
blobdc7c47d9bce7d5cc32a8bc1c485fc79d539ad9cb
1 # Maintainer: domanov @ gmail
2 pkgname=python-phreeqpy
3 _realname=phreeqpy
4 pkgver=0.1
5 pkgrel=1
6 pkgdesc="Python bindings to use with iphreeqc"
7 arch=('i686' 'x86_64')
8 url="http://www.phreeqpy.com/"
9 license=('unknown')
10 groups=()
11 depends=('python' 'iphreeqc')
12 makedepends=()
13 provides=()
14 options=(!emptydirs)
15 source=("http://www.phreeqpy.com/download/${_realname}${pkgver}.zip"
16         arch.patch)
17 md5sums=('ab7d2aea478de6a5abd874a16beffdd0'
18          '7903551150fae83a31f8bb84ceaf9406')
20 package() {
21   cd "$srcdir"/
22   patch -p0 < arch.patch
23   cd "${_realname}${pkgver}"
24   rm -rf phreeqpy/iphreeqc/IPhreeqc.dll
25   rm -rf phreeqpy/iphreeqc/libiphreeqc.so.0.0.0
26   python2 setup.py install --root="$pkgdir/" --optimize=1
29 # vim:set ts=2 sw=2 et: