core/kgamma5/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

35 lines
687 B
Bash

source ../plasma.conf
pkgname=kgamma5
_pkgname=kgamma
pkgver=${PVersion}
pkgrel=1
pkgdesc="Adjust your monitor's gamma settings"
arch=(x86_64)
url='https://projects.kde.org/kgamma5'
license=(LGPL)
depends=(kdelibs4support)
makedepends=(extra-cmake-modules kdoctools)
replaces=('kdegraphics-kgamma')
conflicts=('kdegraphics-kgamma')
groups=('plasma')
options=("debug")
source=("${PServer}/${pkgver}/${pkgname}-${PVersion}.tar.xz"{,.sig})
sha256sums=( $(getSum ${pkgname})
'SKIP' )
validpgpkeys=(${Pvalidpgpkeys[@]})
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}