aboutsummaryrefslogtreecommitdiffstats
path: root/testing/accounts-qml-module/APKBUILD
blob: b867158125988dd92d4640dd2ff4227526dc3903 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=accounts-qml-module
pkgver=0.7_git20190605
pkgrel=0
_commit="69e17dec5add40655cd9334ec7ad4eef13fed8a4"
arch="all"
url="https://gitlab.com/accounts-sso/accounts-qml-module"
pkgdesc="QML bindings for libaccounts-qt + libsignon-qt"
license="LGPL-2.1-only"
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qttools-dev libaccounts-qt-dev signond-dev qtchooser"
checkdepends="xvfb-run"
#source="https://gitlab.com/accounts-sso/accounts-qml-module/-/archive/VERSION_$pkgver/accounts-qml-module-VERSION_$pkgver.tar.gz"
source="$pkgname-$_commit.tar.gz::https://gitlab.com/accounts-sso/accounts-qml-module/-/archive/$_commit.tar.gz"
options="!check" # Requires dbus-test-runner which isn't in the Alpine repos
builddir="$srcdir/$pkgname-$_commit"

build() {
	qmake-qt5 \
		PREFIX=/usr \
		LIBDIR=/usr/lib \
		CONFIG+=no_docs
	make
}

check() {
	make check
}

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

sha512sums="fd74f6e050d82586e04af1a29e6802c83559de0201f195c122b378051fcd86ecd02f057cbf1cfb1b9e42bcbbbb697e06d74df24ee32ef84cbff1b5d688db3802  accounts-qml-module-69e17dec5add40655cd9334ec7ad4eef13fed8a4.tar.gz"