2015-08-17 01:15:23 +08:00
|
|
|
source ../plasma.conf
|
|
|
|
|
|
|
|
pkgname=kgamma5
|
|
|
|
_pkgname=kgamma
|
|
|
|
pkgver=${PVersion}
|
2015-12-16 03:38:34 +08:00
|
|
|
pkgrel=1
|
2015-08-17 01:15:23 +08:00
|
|
|
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)
|
2015-12-07 01:12:12 +08:00
|
|
|
replaces=('kdegraphics-kgamma')
|
|
|
|
conflicts=('kdegraphics-kgamma')
|
2015-08-17 01:15:23 +08:00
|
|
|
groups=('plasma')
|
|
|
|
options=("debug")
|
|
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
|
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
2015-08-21 03:37:30 +08:00
|
|
|
cmake_kf5 ../${pkgname}-${pkgver}
|
2015-08-17 01:15:23 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|