aboutsummaryrefslogblamecommitdiffstats
path: root/community/libqofono/APKBUILD
blob: 700721289c9bc5ca32f71345a010e6168dbbdaf3 (plain) (tree)
1
2
3
4
5
6
7
8


                                                  
           


                                                                                      
                                                      



















                                                                                                 
                                                                                                                                                                    
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libqofono
pkgver=0.99
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/"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
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/
}

sha512sums="cfabc96e9651a4b80ce41876cfc7a691e31cd13bf0187cf222d026e359e41a81e92ffb9182bb01aba50c8ce3792773684e9bb3467037f136058c57a37c64414b  libqofono-0.99.tar.gz"