summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 682c1feac1961389e7863888ceeabf16c017e0df (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Maintainer: Isabella Basso do Amaral <isabbasso at riseup dot net>

_pkgname=kworkflow
_lpkg="${_pkgname,,}"
pkgname="${_pkgname}-git"
pkgver=0.5.r88.gf984b81
pkgrel=1
pkgdesc='CLI tool for kernel development'
arch=('any')
url='https://github.com/kworkflow/kworkflow'
source=("git+https://github.com/kworkflow/kworkflow")
license=('GPL2')
depends=(bc ccache qemu bash git tar libpulse sqlite3 rsync pv
	 bzip2 lzip lzop zstd xz
	 perl-authen-sasl perl-io-socket-ssl python-virtualenv)
optdepends=('pulseaudio: PulseAudio backend'
	    'dunst: Desktop notifications support'
	    'graphviz: Pomodoro graphs support'
	    'librsvg: Pomodoro graphs support'
	    'imagemagick: Pomodoro graphs support'
	    'python-sphinx: Build docs'
	    'python-pip: Build docs'
	    'python-docutils: Build docs')
provides=("${_lpkg}")
conflicts=("${_lpkg}")
sha256sums=('SKIP')
install=kw.install

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

prepare() {
  cd "$_pkgname"
  git checkout master
  #git checkout unstable
  git pull
}

#build() {
#  pip install sphinx-book-theme
#  ./setup.sh --docs
#}

package() {
  cd "$_pkgname"
  chmod +x setup.sh
  ./setup.sh --skip-checks -i
}