diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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)" } |