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

pkgname=python2-taskw
pkgver=1.3.1
pkgrel=2
pkgdesc="Python bindings for your taskwarrior database"
url="http://github.com/ralphbean/taskw"
depends=("python2" "python2-six" "python2-pytz"
         "python2-dateutil" "python2-kitchen")
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
}