pmaports/kde/spacebar/APKBUILD

29 lines
1.1 KiB
Text
Raw Normal View History

2019-06-17 13:42:31 +00:00
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=spacebar
pkgver=0_git20200618
pkgrel=0
_commit="bc86bd0effbbd34b6eed62125521667ff0ab7671"
pkgdesc="Collection of stuff for running IM on Plasma Mobile"
2019-06-17 13:42:31 +00:00
url="https://phabricator.kde.org/source/spacebar/"
arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72
license="GPL-2.0-or-later AND LicenseRef-KDE-Accepted-GPL"
depends="kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kirigami2-dev ki18n-dev kpeople-dev kcontacts-dev telepathy-qt-dev"
source="https://github.com/kde/spacebar/archive/$_commit/spacebar-$_commit.tar.gz"
options="!check" # No tests
2019-06-17 13:42:31 +00:00
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
2019-06-17 13:42:31 +00:00
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
2019-06-17 13:42:31 +00:00
}
package() {
DESTDIR="$pkgdir" cmake --build build --target install
2019-06-17 13:42:31 +00:00
}
sha512sums="e7df59ca523c291ee7f1e2aab26ba3181c6e8873d90c5602420ea881e03dba9bb00e821de64868e26c2be87d72bbe28317ea87265f2613403463783a19b52148 spacebar-bc86bd0effbbd34b6eed62125521667ff0ab7671.tar.gz"