pmaports/kde/plasma-phone-components/APKBUILD
Oliver Smith c1ae46e4ff Package Plasma Mobile (All credit to PureTryOut!) (#284)
Plasma mobile compiles, but we didn't get it to run yet.
Thanks to PureTryOut for all this amazing porting work! \o/
2017-08-03 20:14:04 +00:00

36 lines
1,020 B
Text

pkgname=plasma-phone-components
pkgver=682.b79bb13
pkgrel=1
pkgdesc="Modules providing phone functionality for Plasma"
arch="all"
url="https://community.kde.org/Plasma/Mobile"
license="GPL3"
depends="plasma-workspace kpeople telepathy-qt qt5-qtgraphicaleffects"
makedepends="kpeople telepathy-qt"
source="$pkgname-$pkgver.tar.gz::https://github.com/KDE/$pkgname/archive/master.tar.gz
$install"
install="$pkgname.post-install
$pkgname.post-upgrade
$pkgname.post-deinstall"
prepare() {
mkdir -p $srcdir/build
}
build() {
cd $srcdir/build
cmake $srcdir/$pkgname-master \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF \
-DLIB_INSTALL_DIR=lib \
-DLIBEXEC_INSTALL_DIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd $srcdir/build
make DESTDIR="$pkgdir/" install
}
sha512sums="abf94dc5c0801b333b434ba408952a1be45e3c58896204689bc62a8fde5605137ed6b69f7684f47a2834dc3d1e042bb00282501f2482434871acc92e084eddd8 plasma-phone-components-682.b79bb13.tar.gz"