diff options
author | Manuel Palenzuela | 2019-09-15 23:32:59 +0200 |
---|---|---|
committer | Manuel Palenzuela | 2019-09-15 23:32:59 +0200 |
commit | 7af49c073579108e9a43138ea67e8532184a7215 (patch) | |
tree | aa38d77959b80056bd4ea1ed32553efceca6bf45 | |
parent | 6251bdbc5fa6c666ab339eb6c5ec4d4041036a8f (diff) | |
download | aur-7af49c073579108e9a43138ea67e8532184a7215.tar.gz |
Fixed version in pkgbuild
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 12 insertions, 7 deletions
@@ -2,13 +2,13 @@ pkgbase = python-todo-t pkgdesc = Command-line todo list manager pkgver = 0 pkgrel = 1 - url = https://github.com/sjl/t + url = https://github.com/sjl/t.git arch = any license = GPL makedepends = git makedepends = python provides = python-todo-t - source = git://github.com/sjl/t + source = git+https://github.com/sjl/t.git md5sums = SKIP sha1sums = SKIP sha256sums = SKIP @@ -5,11 +5,11 @@ pkgname=python-todo-t pkgver=0 pkgrel=1 pkgdesc="Command-line todo list manager" -url="https://github.com/sjl/t" +url="https://github.com/sjl/t.git" makedepends=('git' 'python') license=('GPL') arch=('any') -source=("git://github.com/sjl/t") +source=("git+https://github.com/sjl/t.git") provides=('python-todo-t') md5sums=('SKIP') @@ -18,7 +18,12 @@ sha256sums=('SKIP') pkgver() { cd "t" - - # Get the version number. - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf '0.r%s.%s' \ + "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } + +package() { + cd "t" + python setup.py install --root=$pkgdir +} + |