pmaports/kde/plasma-mobile/APKBUILD

36 lines
978 B
Text
Raw Normal View History

pkgname=plasma-mobile
pkgver=5845.8005327e
pkgrel=1
pkgdesc="Plasma Mobile"
arch="all"
url="https://community.kde.org/Plasma/Mobile"
license="GPL3"
depends="plasma-workspace kio"
makedepends="extra-cmake-modules baloo kdoctools plasma-workspace qt5-qtdeclarative-dev kio-dev kdelibs4support"
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 \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd $srcdir/build
make DESTDIR="$pkgdir/" install
}
sha512sums="dc0ea3172e2bcdec972bf4d7a74e1e4a97de5e6d32adc6f4e36c3de57cf44529ea866ba9ee1c3014f2aaffee1e7b41c229358f6c997bcecf7f9262c95b0fa1b9 plasma-mobile-5845.8005327e.tar.gz"