summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 75e679ce3d8139d9e655da7b1798c3339e38eb75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer Manuel Palenzuela <sadshinobi@protonmail.com>

author=sjl
pkgname=python-todo-t
pkgver=0
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")
provides=('python-todo-t')

md5sums=('SKIP')
sha1sums=('SKIP')
sha256sums=('SKIP')

pkgver() {
  cd "t"
  printf '0.r%s.%s' \
         "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "t"
    python setup.py install --root=$pkgdir
}