archrelease: copy trunk to extra-x86_64
[arch-packages.git] / knewstuff / repos / extra-x86_64 / PKGBUILD
bloba89cfb2dc3fb425cf747188752f04c0cd21ec57d
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=knewstuff
6 pkgver=5.106.0
7 pkgrel=1
8 pkgdesc='Support for downloading application assets from the network'
9 arch=(x86_64)
10 url='https://community.kde.org/Frameworks'
11 license=(LGPL)
12 depends=(kio kpackage attica syndication)
13 makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc qt5-declarative)
14 optdepends=('kirigami2: QML components')
15 groups=(kf5)
16 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
17 sha256sums=('9d8d6e565dacf9b9923e0bd3125859ac6dbc8038d7c5ced8b77943d555f97c0a'
18             'SKIP')
19 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
21 build() {
22   cmake -B build -S $pkgname-$pkgver \
23     -DBUILD_TESTING=OFF \
24     -DBUILD_QCH=ON
25   cmake --build build
28 package() {
29   DESTDIR="$pkgdir" cmake --install build