mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:57:13 +08:00
35 lines
684 B
Bash
35 lines
684 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
|
|
}
|