blob: 3e549b2b47c21ed784eba26d3a79202faef92e98 (
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
32
33
|
# Maintainer: Ingo Meyer <i.meyer@fz-juelich.de>
pkgname="python-gr-framework-git"
pkgver="1.19.0.r1.gbb87bef"
pkgrel="1"
pkgdesc="A universal framework for cross-platform visualization applications (Python bindings)."
arch=("any")
url="https://gr-framework.org"
license=("MIT")
depends=("gr-framework" "python" "python-numpy")
makedepends=("git" "python-setuptools")
provides=("${pkgname%-*}=${pkgver}")
conflicts=("${pkgname%-*}")
source=("${pkgname%-*}::git+https://github.com/sciapp/python-gr.git#branch=develop")
sha256sums=("SKIP")
pkgver() {
cd "${srcdir}/${pkgname%-*}" || return
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname%-*}" || return
python setup.py build
}
package() {
cd "${srcdir}/${pkgname%-*}" || return
python setup.py install --optimize=1 \
--prefix=/usr \
--root="${pkgdir}" \
--skip-build
}
|