aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gkraken/APKBUILD
blob: 4890186bb76df448839ccb4f32dded8eb5cc2358 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gkraken
pkgver=0.13.0
pkgrel=1
pkgdesc="GUI that allows to control cooling of NZXT Kraken X pumps from Linux"
url="https://gitlab.com/leinardi/gkraken"
arch="noarch"
license="GPL-3.0-or-later"
depends="python3 libdazzle libnotify py3-gobject3 py3-rx liquidctl py3-injector
	py3-matplotlib py3-peewee py3-xdg
"
makedepends="meson gobject-introspection-dev gtk+3.0-dev"
options="!check" # no tests
source="https://gitlab.com/leinardi/gkraken/-/archive/$pkgver/gkraken-$pkgver.tar.gz
	60-gkraken.rules
	no-gettext-python-support.patch"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install

	mkdir -p "$pkgdir"/usr/lib/udev/rules.d
	install -m644 "$srcdir"/60-gkraken.rules "$pkgdir"/usr/lib/udev/rules.d/60-gkraken.rules
}

sha512sums="615d3104d258cde08a9cfa1625a6c9368ab1788fb5777ab897c744e88ea1fb4cf8f6edd20395645bffe2171cc6c4e21c10ddfe66c7657184edd0c374f7bfae56  gkraken-0.13.0.tar.gz
ef8a079e1232777f537e18dbced2192fe7a0b30ae821ceb96b825b50a76f0890a13b5cf062a8fcc77a9c545c39ff28adc987b1dbce021e327675ceb1bbbed883  60-gkraken.rules
2b255e29e50fae08880f99940c2f4eeba59da7371f6874adf2607895909c1bd274cd149d56d0530041c67ceeafa4b028cf47c6b0605fc1dede00104bb0e6b4e5  no-gettext-python-support.patch"