summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db303350f83509f8c9d744c4feaf2f91d2fd627a (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
# Maintainer: Renato Lui Geh <renatogeh at gmail dot com>

pkgname=python2-pypsdd
_gitname="pypsdd"
pkgver=0.1
pkgrel=1
pkgdesc="The Python Probabilistic Sentential Decision Diagrams (PSDD) Package."
arch=('any')
url="https://github.com/art-ai/pypsdd"
license=('Apache 2.0')
depends=('python2')
optdepends=('pypy')
makedepends=('git')
source=("git+https://github.com/art-ai/pypsdd")
sha256sums=('SKIP')

build() {
  cd "$_gitname"
  python2 setup.py build
}

package() {
  cd "$_gitname"
  python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
}