pmaports/kde/kitemmodels/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

32 lines
852 B
Text

pkgname=kitemmodels
pkgver=5.36.0
pkgrel=1
pkgdesc='Models for Qt Model/View system'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="qt5-qtbase"
makedepends="extra-cmake-modules py3-qt5 clang doxygen qt5-qttools-dev"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
subpackages="$pkgname-doc"
prepare() {
mkdir -p $srcdir/build
}
build() {
cd $srcdir/build
cmake "$srcdir"/${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
make
}
package() {
cd $srcdir/build
make DESTDIR="${pkgdir}" install
}
sha512sums="a1ded2f47c03ebd8395a7bc9fcae53d44c0654fd8b0229283e8ec78e222e2b2aace0b119055d76d54a7df5d491e6ca58011b274c7843808e185e15c5b916ee42 kitemmodels-5.36.0.tar.xz"