mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 07:34:35 +08:00
31 lines
563 B
Bash
31 lines
563 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)
|
||
|
groups=('plasma')
|
||
|
options=("debug")
|
||
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
||
|
sha256sums=( $(getSum ${pkgname}) )
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd build
|
||
|
cmake_kf5 ../${_pkgname}-${pkgver}
|
||
|
make
|
||
|
}
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR="$pkgdir" install
|
||
|
}
|