archrelease: copy trunk to extra-x86_64
[arch-packages.git] / kdelibs4support / repos / extra-x86_64 / PKGBUILD
blob345a3201c13d8c60ee5bc5ba40141bbdea041b92
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=kdelibs4support
6 pkgver=5.106.0
7 pkgrel=1
8 pkgdesc='Porting aid from KDELibs4'
9 arch=(x86_64)
10 url='https://community.kde.org/Frameworks'
11 license=(LGPL)
12 depends=(kunitconversion kitemmodels kemoticons kparts perl)
13 makedepends=(extra-cmake-modules kdoctools qt5-tools networkmanager perl-uri kdesignerplugin)
14 groups=(kf5-aids)
15 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/$pkgname-$pkgver.tar.xz{,.sig})
16 sha256sums=('ce71650a1c379bdb75726c508e60695855c158ce2e8ea44aacb69d787e2a9cab'
17             'SKIP')
18 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
20 build() {
21   cmake -B build -S $pkgname-$pkgver \
22     -DCMAKE_INSTALL_LIBEXECDIR=lib \
23     -DBUILD_TESTING=OFF
24   cmake --build build
27 package() {
28   DESTDIR="$pkgdir" cmake --install build
30 # cert bundle seems to be hardcoded
31 # link it to the one from ca-certificates
32   rm -f "$pkgdir"/usr/share/kf5/kssl/ca-bundle.crt
33   ln -sf /etc/ssl/certs/ca-certificates.crt "$pkgdir"/usr/share/kf5/kssl/ca-bundle.crt