summaryrefslogtreecommitdiff
path: root/community/razergenie/APKBUILD
blob: 34951ed3522e5b98e33e02fc8cadfac9fc3bf4a2 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=razergenie
pkgver=1.0.0
pkgrel=0
pkgdesc="Configure and control your Razer devices"
url="https://github.com/z3ntu/RazerGenie"
arch="all"
license="GPL-3.0-or-later"
depends="openrazer"
makedepends="
	libopenrazer-dev
	meson
	qt5-qtbase-dev
	qt5-qttools-dev
	"
source="https://github.com/z3ntu/RazerGenie/releases/download/v$pkgver/RazerGenie-$pkgver.tar.xz"
builddir="$srcdir/RazerGenie-$pkgver"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
a81f34dc75d6273db7f5eaa2d38eb79840d8369586c75e9e9b1a2e41eafd17e789a078f07c88dd13bf1d1380f4fbb483cd4ad61fae911f22a06dbe757c9b13c9  RazerGenie-1.0.0.tar.xz
"