summaryrefslogtreecommitdiff
path: root/community/libopenrazer/APKBUILD
blob: 6489f54938af859f7257138bd5c99d7c054e0156 (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: Luca Weiss <luca@z3ntu.xyz>
pkgname=libopenrazer
pkgver=0.1.0
pkgrel=1
pkgdesc="Qt wrapper around the D-Bus API from OpenRazer"
url="https://github.com/z3ntu/libopenrazer"
arch="all"
license="GPL-3.0-or-later"
subpackages="$pkgname-dev"
makedepends="
	meson
	qt5-qtbase-dev
	qt5-qttools-dev
	"
source="https://github.com/z3ntu/libopenrazer/releases/download/v$pkgver/libopenrazer-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile -C output
}

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

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

sha512sums="
ed9ca27c007ca6a03786edd72fd8df84c37ff66940f583bf03a5b593910f9bcfe4fbe0ba14ef932e5fc22b94c3e95005b419ee52b178375050fc11790f70e320  libopenrazer-0.1.0.tar.xz
"