diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -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 +} + |