summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4cd08953c78f1a0c9f0843b09908bd6505723e92 (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
# Maintener Théophane Hufschmitt <theophane.hufschmitt@gmx.fr>
pkgname=topydo-git
_gitname=topydo
pkgver=0.2.r0.g503d876
pkgrel=1
pkgdesc="A couple of tools (actions, filters, sorting) for todo.txt files"
arch=("any")
url="https://github.com/bram85/topydo"
license=('GPLv3')
depends=("python2" "python2-setuptools" "python2-six")
provides=("topydo")
source=("git+https://github.com/bram85/topydo.git")
md5sums=("SKIP")

pkgver() {
  cd "$_gitname"
  git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

package() {
  cd $srcdir/$_gitname
  python2 setup.py build
  python2 setup.py install --root=$pkgdir
}