blob: 8e9f60e7cbd456f1ef313df37ad84a1fb211b4eb (
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
34
35
|
# Maintainer: peeweep <peeweep at 0x0 dot ee>
pkgname=('python-minieigen-git')
pkgdesc="Boost::Python wrapper for parts of the Eigen c++ library"
pkgver=20200217.1e992b1
pkgrel=1
license=('LGPL3')
url='https://github.com/eudoxos/minieigen'
arch=('x86_64')
makedepends=('git' 'boost' 'eigen' 'python')
depends=('boost' 'python-distro' 'eigen' 'python')
source=("${pkgname}::git+${url}.git"
"0001-Fix-distro-check.patch")
md5sums=('SKIP'
'2ff02b2a7d24e567d33233e0aaa2aecd')
pkgver() {
cd "${srcdir}/${pkgname}"
git log -1 --format='%cd.%h' --date=short | tr -d -
}
prepare() {
cd "${srcdir}/${pkgname}"
patch -p1 <"${srcdir}/0001-Fix-distro-check.patch"
}
build() {
cd "${srcdir}/${pkgname}"
python setup.py build
}
package() {
cd "${srcdir}/${pkgname}"
python setup.py install --root="${pkgdir}" --skip-build
}
|