blob: 811d869d5769dd78d268ddcc061eb9b48f941e36 (
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
|
# Maintainer: Mirko Scholz <srtlg>
_pkgname=pyobjcryst
pkgname=python-${_pkgname}
pkgver=2.2.4
pkgrel=1
pkgdesc="Python bindings to ObjCryst++, the Object-Oriented Crystallographic Library."
url="https://www.diffpy.org/pyobjcryst/"
makedepends=('python-setuptools' 'boost')
depends=('python-numpy' 'boost-libs' 'libobjcryst')
license=('GPL2')
arch=('i686' 'x86_64')
source=(
"${_pkgname}-${pkgver}.tar.gz::https://github.com/diffpy/pyobjcryst/archive/v${pkgver}.tar.gz")
sha256sums=('842764e944d9efb9d7494d44b49c74e3cd29bb40bb9535a06e6f730cae10c2dd')
build() {
cd "$srcdir/${_pkgname}-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/${_pkgname}-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}
|