1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
6 pkgdesc="Molecular point group symmetry lib"
8 url="http://www.openchemistry.org/"
11 makedepends=(cmake python)
12 optdepends=('python: Python bindings')
13 source=($pkgname-$pkgver.tar.gz::"https://github.com/mcodev31/libmsym/archive/v$pkgver-paper.tar.gz")
14 sha256sums=('3741ebe163cf40696570d6b62e4834ca587d43dcac9de713994cc5e2960fb8fd')
22 cmake ../$pkgname-$pkgver-paper \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DBUILD_SHARED_LIBS=ON \
25 -DMSYM_BUILD_PYTHON=ON \
26 -DMSYM_PYTHON_INSTALL_OPTS=--root="$pkgdir"
32 make DESTDIR="$pkgdir" install
34 install -Dm644 "$srcdir"/$pkgname-$pkgver-paper/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname