summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6a57baf17fe060a9925f7ed777764901ab2d43ad (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
# Maintainer: Arvedui <arvedui@posteo.de>
# Contributor: Morten Linderud <foxboron@archlinux.org>

pkgname=python2-taskw
pkgver=1.3.1
pkgrel=3
pkgdesc="Python bindings for your taskwarrior database"
url="http://github.com/ralphbean/taskw"
depends=("python2" "python2-six" "python2-pytz"
         "python2-dateutil" "python2-kitchen"
         "task")
makedepends=( 'python2' 'python2-setuptools')
license=("GPL")
arch=('any')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ralphbean/taskw/archive/${pkgver}.tar.gz")
sha256sums=('811218b490a69560f8673b3d1946b45d3ad43abff4ebd4aa9409569bb6b41dd1')

build(){
    cd "$srcdir/taskw-$pkgver"
    python2 setup.py build
}

package_python2-taskw(){

    cd "$srcdir/taskw-$pkgver"
    python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}