aboutsummaryrefslogtreecommitdiffstats
path: root/community/libngf-qt/APKBUILD
blob: f754d05c5d42135f39a5bdfe705883d076fbb323 (plain) (blame)
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: Bart Ribbers <bribbers@disroot.org>
pkgname=libngf-qt
pkgver=0.8.1
pkgrel=0
pkgdesc="Qt-based client for NGF daemon (Non-Graphic Feedback)."
url="https://github.com/sailfishos/libngf-qt"
arch="all"
license="LGPL-2.1-or-later"
depends_dev="
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	qt5-qtfeedback-dev
	"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://github.com/sailfishos/libngf-qt/archive/$pkgver/libngf-qt-$pkgver.tar.gz"
options="!check" # No suitable tests

build() {
	qmake-qt5 \
		PREFIX=/usr
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install

	# Remove tests
	rm -rf "$pkgdir"/opt
}

sha512sums="
882d7561ccaf23735ee224e672ddb9c777c892244c547364fb579f1888ee45cefae34f910841a7c208fa063da1b7ce1e893711ddeeccf91f7616ae4f1a98338e  libngf-qt-0.8.1.tar.gz
"