pmaports/main/qxmpp/APKBUILD
PureTryOut 3daead037b
main/kaidan: new aport (!214)
Requires new aport main/qxmpp
2019-03-08 09:49:25 +01:00

36 lines
917 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qxmpp
pkgver=1.0.0
pkgrel=0
pkgdesc="Cross-platform C++ XMPP client and server library"
arch="all"
url="https://github.com/qxmpp-project/qxmpp"
license="LGPL-2.1"
makedepends="cmake qt5-qtbase-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/qxmpp-project/$pkgname/archive/v$pkgver.tar.gz"
subpackages="$pkgname-dev"
# 8 - tst_qxmppiceconnection (Failed)
options="!check"
build() {
cd "$builddir"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" make install
}
sha512sums="85f4df849b0d0582f96b0310b25f3d80226986ac0251ccc0c695da60bc81365c5769c3eb0720ffad5c5311ae8aab37b9cd8d5a78e4177259588fdf44393f0594 qxmpp-1.0.0.tar.gz"