diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -9,11 +9,19 @@ url="https://github.com/FEniCS/basix" license=('GPL3') groups=('fenics-git') depends=('eigen' 'pybind11') -makedepends=('python-setuptools' 'python-wheel' 'python-scikit-build' 'git' 'ninja') +makedepends=('python-setuptools' 'python-wheel' +'python-scikit-build' 'xtensor' 'xtensor-blas' 'git' +'ninja') options=(!emptydirs) source=("basix::git+https://github.com/FEniCS/basix.git") md5sums=('SKIP') + +prepare() { + cd basix + git checkout $(git rev-list -1 --before="${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2}" main) +} + pkgver() { cd basix git log --format="%cd" --date=short -1 | sed 's/-//g' |