1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=kdelibs4support
8 pkgdesc='Porting aid from KDELibs4'
10 url='https://community.kde.org/Frameworks'
12 depends=(kunitconversion kitemmodels kemoticons kparts perl)
13 makedepends=(extra-cmake-modules kdoctools qt5-tools networkmanager perl-uri kdesignerplugin)
15 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/$pkgname-$pkgver.tar.xz{,.sig})
16 sha256sums=('ce71650a1c379bdb75726c508e60695855c158ce2e8ea44aacb69d787e2a9cab'
18 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
21 cmake -B build -S $pkgname-$pkgver \
22 -DCMAKE_INSTALL_LIBEXECDIR=lib \
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