# Maintainer (Arch): Felix Yan # Maintainer (Arch): Antonio Rojas # Contributor (Arch): Andrea Scarpino # Maintainer: Andreas Grapentin # Contributor: André Silva # Contributor: jc_gargma pkgname=khotkeys pkgver=5.18.4.1 pkgrel=1 pkgrel+=.parabola1 pkgdesc='KHotKeys' pkgdesc+=', with DuckDuckGo HTML support' arch=(x86_64) arch+=(i686 armv7h) url='https://www.kde.org/workspaces/plasmadesktop/' license=(LGPL) depends=(plasma-workspace) makedepends=(extra-cmake-modules kdoctools kdesignerplugin) groups=(plasma) source=("https://download.kde.org/stable/plasma/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}) sha256sums=('272f83576ab3b13203400854431e891c27d027684eebc720f2009734d3b7221f' 'SKIP') validpgpkeys=('2D1D5B0588357787DE9EE225EC94D18F7F05997E' # Jonathan Riddell '0AAC775BB6437A8D9AF7A3ACFE0784117FBCE11D' # Bhushan Shah 'D07BD8662C56CB291B316EB2F5675605C74E02CF' # David Edmundson '1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin prepare() { mkdir -p build cd $pkgname-$pkgver sed -i 's|google[.]com|duckduckgo.com/html|' data/defaults.khotkeys } build() { cd build cmake ../$pkgname-$pkgver \ -DBUILD_TESTING=OFF make } package() { cd build make DESTDIR="$pkgdir" install }