summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f46edd7681e13bce629adce0994b2c429e8f7584 (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
# Maintainer: Kazuo Teramoto <kaz.rag at gmail dot com>

pkgbase=('stig-git')
pkgname=('stig-git')
pkgver=0.1.0a.r2.9da7ec5
pkgrel=1
pkgdesc="TUI and CLI client for the Transmission daemon"
url="https://github.com/rndusr/stig"
depends=('python' 'python-urwid' 'python-urwidtrees-git' 'python-aiohttp'
         'python-appdirs' 'python-blinker')
makedepends=('git' 'python-setuptools')
license=('GPL')
arch=('any')
provides=('stig')
conflicts=('stig')
source=("git+https://github.com/rndusr/stig.git#branch=dev")
sha256sums=('SKIP')

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

build() {
    cd stig
    python setup.py build
}

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