summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 85749cf2d4b911b13c60e340789470c21acf5805 (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
# Maintainer: Jeff Walters <sy.achmed at gmail dot com>
pkgname=('python-gkraken')
_module='gkraken'
pkgver='0.12.1'
pkgrel=1
pkgdesc="GUI to control cooling and lighting of NZXT Kraken X (X42, X52, X62 or X72) pumps"
url="https://gitlab.com/leinardi/gkraken/"
depends=('python' 'python-liquidctl' 'python-injector' 'python-cairo' 'python-matplotlib' 'python-peewee' 'python-gobject' 'python-xdg' 'python-requests' 'python-rx' 'libappindicator-gtk3')
makedepends=('python-setuptools')
license=('GPL3')
arch=('any')
source=(
  "https://files.pythonhosted.org/packages/b7/a6/823ddcb879e98ea7d5b2c296b993d73b10f0a2c0d2427684a31edf9b47ba/gkraken-${pkgver}.tar.gz"
  deps.patch
)
md5sums=('4566e683f076522fc83320f2f558346f'
	 '92eb4d150df30288d9b2bee2aa41279f')

prepare() {
    cd $_module-$pkgver
    patch -Np1 < "${srcdir}/deps.patch"
}

build() {
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py build
}

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}