diff options
author | Tyler Veness | 2015-10-31 03:17:13 -0700 |
---|---|---|
committer | Tyler Veness | 2015-10-31 03:18:46 -0700 |
commit | 65b4209f028eb41f5fc6dfc858e259fdb4af0e02 (patch) | |
tree | 3d2de497373007f78ba07578d8afa552595ca003 /PKGBUILD | |
parent | 49ab5ae66df6c3ec1a980d2f30883162068460c8 (diff) | |
download | aur-65b4209f028eb41f5fc6dfc858e259fdb4af0e02.tar.gz |
Changed Git source URL to newer repository and modified pkgver() function
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -3,24 +3,23 @@ pkgname=python-slycot-git _gitname=Slycot -pkgver=tb04ad_segfault.r72.g7b674d1 +pkgver=137.9bec0d2 pkgrel=1 pkgdesc="Python wrapper for selected SLICOT routines, notably including solvers for Riccati, Lyapunov and Sylvester equations." arch=('i686' 'x86_64') -url="http://github.com/johannes-scharlach/Slycot" +url="http://github.com/jgoppert/Slycot" license=('GPL2') depends=('python-numpy') makedepends=('git' 'gcc-fortran') optdepends=() provides=('python-slycot') conflicts=('python-slycot') -source=(git+https://github.com/johannes-scharlach/Slycot.git) +source=(git+https://github.com/jgoppert/Slycot.git) md5sums=('SKIP') pkgver() { cd "$srcdir/$_gitname" - # Use the tag of the last commit - git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g' + echo $(git rev-list --count master).$(git rev-parse --short master) } package() { |