APKBUILD 950 Bytes
Newer Older
Bart Ribbers's avatar
Bart Ribbers committed
1 2 3
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libqofono
Leo's avatar
Leo committed
4
pkgver=0.99
Bart Ribbers's avatar
Bart Ribbers committed
5 6 7
pkgrel=0
pkgdesc="A library for accessing the ofono daemon, and a Qt declarative plugin for it"
url="https://git.merproject.org/mer-core/libqofono/"
8
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
Bart Ribbers's avatar
Bart Ribbers committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
license="LGPL-2.1-or-later"
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev"
makedepends="$depends_dev"
subpackages="$pkgname-dev"
source="https://git.merproject.org/mer-core/libqofono/-/archive/$pkgver/libqofono-$pkgver.tar.gz"
options="!check" # Requires running Ofono

build() {
	qmake-qt5
	make
}

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

	# Remove installed tests
	rm -r "$pkgdir"/opt
	rm -r "$pkgdir"/usr/lib/libqofono-qt5/tests/
}

Leo's avatar
Leo committed
29
sha512sums="cfabc96e9651a4b80ce41876cfc7a691e31cd13bf0187cf222d026e359e41a81e92ffb9182bb01aba50c8ce3792773684e9bb3467037f136058c57a37c64414b  libqofono-0.99.tar.gz"