diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = python-todo-t pkgdesc = Command-line todo list manager - pkgver = 0 + pkgver = 0.r87.2491982 pkgrel = 1 url = https://github.com/sjl/t.git arch = any @@ -3,14 +3,14 @@ author=sjl pkgname=python-todo-t _gitname=t -pkgver=0 +pkgver=0.r87.2491982 pkgrel=1 pkgdesc="Command-line todo list manager" url="https://github.com/sjl/t.git" makedepends=('git' 'python') license=('GPL') arch=('any') -source=("git+https://github.com/sjl/t.git") +source=("git+https://github.com/$author/$_gitname.git") provides=('python-todo-t') md5sums=('SKIP') @@ -18,7 +18,7 @@ sha1sums=('SKIP') sha256sums=('SKIP') pkgver() { - cd "$srcdir/$_gitname" + cd "$_gitname" printf '0.r%s.%s' \ "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } |