diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,8 +1,9 @@ # Maintainer: Lucas H. Gabrielli <heitzmann@gmail.com> -pkgname=python-fiat-git +_base=fiat +pkgname=python-${_base}-git pkgdesc="Generation of arbitrary order Lagrange elements on lines, triangles, and tetrahedra." -pkgver=20200113 +pkgver=2019.1.0.70.g2f19f48 pkgrel=1 arch=('any') url="https://bitbucket.org/fenics-project/fiat" @@ -11,12 +12,12 @@ groups=('fenics-git') depends=('python-numpy' 'python-sympy') makedepends=('python-setuptools' 'git') options=(!emptydirs) -source=("fiat::git+https://bitbucket.org/fenics-project/fiat.git") +source=("fiat::git+${url}.git") md5sums=('SKIP') pkgver() { - cd fiat - git log --format="%cd" --date=short -1 | sed 's/-//g' + cd "${srcdir}/${_base}" + git describe --tags --match '*.*' | tr '-' '.' } build() { |