summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9237e9e43c081e106549e9b5b9f866db3d6b4fd6 (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
30
31
# Maintainer: Konstantinos Foutzopoulos <mail@konfou.xyz>

_pkgname=calysto_scheme
pkgname=jupyter-${_pkgname}-git
pkgver=r61.c7235ee
pkgrel=1
pkgdesc="A Scheme kernel for Jupyter that can use Python libraries (GIT version)"
arch=('any')
url="https://github.com/Calysto/calysto_scheme"
license=('BSD')
depends=('jupyter-metakernel')
makedepends=('python-setuptools')
source=("git+https://github.com/Calysto/${_pkgname}.git")
md5sums=('SKIP')

pkgver() {
  cd ${_pkgname}
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${_pkgname}"
  python setup.py build
}

package(){
  cd "${_pkgname}"
  python setup.py install --root="${pkgdir}" --optimize=1
}

# vim:ts=2:sw=2:et: