core/kmenuedit/PKGBUILD
AlmAck 0003c19031 fix validpgpkeys array propagation
use [@] to get the full array entries, without that only the first element was retrieved
2017-08-10 11:46:06 +02:00

36 lines
813 B
Bash

# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kmenuedit
source ../plasma.conf
pkgname=kmenuedit
pkgver=${PVersion}
pkgrel=1
pkgdesc='KDE menu editor'
arch=('x86_64')
url='https://projects.kde.org/projects/kde/workspace/kmenuedit'
license=('LGPL')
depends=('khotkeys')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3')
groups=('plasma')
options=("debug")
source=("${PServer}/${pkgver}/${pkgname}-${PVersion}.tar.xz"{,.sig})
sha256sums=( $(getSum ${pkgname})
'SKIP' )
validpgpkeys=(${Pvalidpgpkeys[@]})
install=${pkgname}.install
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver} \
-DPYTHON_EXECUTABLE=/usr/bin/python3
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}