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

34 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kaidan
pkgver=0.3.2_git20190206
pkgrel=0
_commit="6ab6c7af327edd80500fbb3bbacd67ba96c10c5a"
pkgdesc="Kaidan, a simple and user-friendly Jabber/XMPP client for every device and platform"
arch="all"
url="https://git.kaidan.im/kaidan/kaidan/"
license="GPL-3.0-or-later with OpenSSL exception, GPL-3.0-or-later, MIT, CC-BY-SA-4.0"
depends="kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kirigami2-dev qxmpp-dev"
source="https://git.kaidan.im/kaidan/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
build() {
cd "$builddir"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" make install
}
sha512sums="cf516fca0147bc4cdd4c211c54edc0b989cc293c0ab30e2007a24670fe432b1a2f5eb8502ed2aeba9fac9bf923a8c0e613d0e1ce0b9491cd14f53f5c484802a6 kaidan-6ab6c7af327edd80500fbb3bbacd67ba96c10c5a.tar.gz"