summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4642c582f165703df03983e5cae889b26f1f88e5 (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
# Maintainer: Lukas Jurk <ljurk@pm.me>
_pkgname=python-jiramenu
_gitname=jiramenu
pkgname=$_pkgname-git
pkgver=r1.0.10
pkgrel=1
pkgdesc="Dmenu/Rofi frontend for jira"

arch=('any')
url="https://gitlab.com/ljurk/jiramenu"
license=('GPLv3')
depends=('python'
         'python-rofi-git'
         'python-jira'
         'python-requests'
         'python-click'
         'python-pyjwt'
         'python-keyring')
makedepends=('git'
             'python'
             'python-setuptools')
optdepends=('dmenu: either dmenu or rofi is required'
            'rofi: either dmenu or rofi is required')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://gitlab.com/ljurk/$_gitname.git")
md5sums=('SKIP')

pkgver() {
  cd "$_gitname"
  printf "r%s" "$(python setup.py --version)"
}
build() {
    cd "$_gitname"
    python setup.py build
}

package() {
    cd "$_gitname"
    python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1 --skip-build
}