pmaports/main/libofono-qt/APKBUILD

30 lines
1.1 KiB
Text

# Contributor: Bhushan Shah <bshah@kde.org>
# Maintainer: Bhushan Shah <bshah@kde.org>
pkgname=libofono-qt
pkgver=0.54_git20190116
pkgrel=2
_commit="8132b5ff5035c468807c291b4fa30d7e0a54cba4"
pkgdesc="This package contains ofono-qt, a Qt-based library that providesbindings to oFono"
url="https://github.com/Kaffeine/libofono-qt"
arch="all"
license="LGPL-2.1-or-later"
makedepends="qt5-qtbase-dev"
subpackages="$pkgname-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/Kaffeine/$pkgname/archive/$_commit.tar.gz 01_disable_docs.patch"
options="!check" # No tests suite
builddir="$srcdir/$pkgname-$_commit"
build() {
qmake-qt5
make
}
package() {
INSTALL_ROOT="$pkgdir" make install
# Remove tests
rm -r "$pkgdir"/opt
}
sha512sums="80d7e92fff9a9d8798a050aa6a42dee553d5b44cfae0ee540523032ff116d95c9388f4e1302b9ab063dbf3076e1a8bedea8c67d8a5904d966a5d22a410b6218f libofono-qt-8132b5ff5035c468807c291b4fa30d7e0a54cba4.tar.gz
2b479051ec139fca06924844ddead170df2d5157a03d3b4715a203d88b5db93fa54b05694faf7e7485c2bec966f69ef03ae78e9ee2f5f3224650c8b44497ade5 01_disable_docs.patch"