summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: deac1a09488cfe99e52083ff9bbe3787cc6bd091 (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
# Contributor: josip <josip@jjanzic.com>
pkgname=kandoman-git
_pkgname=kandoman
pkgver=r13.1f85a49
pkgrel=1
pkgdesc="UI for todoman in form of kanban board"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'arm' 'aarch64')
url="https://github.com/janza/kandoman"
license=('MIT')
depends=('todoman' 'python-pyqt5')
source=("${pkgname%-*}::git+https://github.com/janza/kandoman.git")
sha1sums=("SKIP")

pkgver() {
    cd "$srcdir/${_pkgname}" || exit 1
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$_pkgname" || exit 1
  python setup.py build
}

package() {
  cd "$srcdir/$_pkgname"
  python setup.py install --root="$pkgdir" --optimize=1
}