diff options
author | Michal Wojdyla | 2021-03-04 05:52:43 +0100 |
---|---|---|
committer | Michal Wojdyla | 2021-03-04 05:52:43 +0100 |
commit | 2da9be09f021e4565e01a41ab29cfc8f1c6f02a1 (patch) | |
tree | 3929fd4ffe58b13f9849eee18fff04ed472a58a9 /PKGBUILD | |
parent | 2158577666b6440cfad82e1e031063a41077a040 (diff) | |
download | aur-2da9be09f021e4565e01a41ab29cfc8f1c6f02a1.tar.gz |
add pkgver, change dl
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,8 +1,9 @@ +# Contributor: Michal Wojdyla < micwoj9292 at gmail dot com > # Maintainer: Ashley Whetter <(firstname) @ awhetter.co.uk> pkgbase=python-seqlearn-git pkgname=('python-seqlearn-git' 'python2-seqlearn-git') -pkgver=20141124 +pkgver=r89.32d4bfa pkgrel=1 pkgdesc="A sequence classification toolkit for Python." arch=('i686' 'x86_64') @@ -10,9 +11,14 @@ url="http://larsmans.github.io/seqlearn/" license=('custom: Copyright 2013-2014 Lars Buitinck / University of Amsterdam and contributors') makedepends=('git') options=(!emptydirs) -source=(git://github.com/larsmans/seqlearn.git) +source=(git+https://github.com/larsmans/seqlearn.git) md5sums=("SKIP") +pkgver() { + cd "$srcdir/seqlearn" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + package_python-seqlearn-git() { depends=('python' 'python-numpy>=1.6' 'python-scipy>=0.11' 'cython>=0.20.2') cd "$srcdir/seqlearn" @@ -24,5 +30,3 @@ package_python2-seqlearn-git() { cd "$srcdir/seqlearn" python2 setup.py install --root="$pkgdir/" --optimize=1 } - -# vim:set ts=2 sw=2 et: |