pmaports/kde/knewstuff/APKBUILD

33 lines
887 B
Text
Raw Normal View History

pkgname=knewstuff
pkgver=5.36.0
pkgrel=1
pkgdesc='Support for downloading application assets from the network'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="kio"
makedepends="extra-cmake-modules python doxygen qt5-qttools-dev attica-qt5"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
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="b90c7cdefdc4c1f3ef92798214fedf1025a6115827426bb573b531579997d432938e73399f74ea2e4579f51daebddeb8aa2e644cfbea6875fc8bedb84a95475e knewstuff-5.36.0.tar.xz"