aboutsummaryrefslogtreecommitdiffstats
path: root/community/libngf-qt/APKBUILD
blob: d31db65a8965e19f5415fef9dcb11a46cb4732d7 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libngf-qt
pkgver=0.6.5
pkgrel=0
pkgdesc="Qt-based client for NGF daemon (Non-Graphic Feedback)."
url="https://git.sailfishos.org/mer-core/libngf-qt"
arch="all"
license="LGPL-2.1-or-later"
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://git.sailfishos.org/mer-core/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="0eea0e19f3443bf4de83eb7497294e90d2b715f69c9ec33439830903f6f749e5bb500978173d12b6187cf7a299145d82987fa81d4be76ce29250e11967976e7b  libngf-qt-0.6.5.tar.gz"