2016-01-23 22:15:26 +08:00
|
|
|
pkgname=plasma5-applets-redshift-control
|
|
|
|
_name=plasma-applet-redshift-control
|
2016-01-26 03:03:10 +08:00
|
|
|
pkgver=1.0.10
|
2016-01-28 08:13:51 +08:00
|
|
|
pkgrel=2
|
|
|
|
pkgdesc="Applet for controlling redshift (screen temperature modifying)"
|
2016-01-23 22:15:26 +08:00
|
|
|
arch=('x86_64')
|
|
|
|
url="https://github.com/kotelnik/plasma-applet-redshift-control"
|
|
|
|
license=('GPL')
|
|
|
|
group=('plasma5-applets')
|
|
|
|
depends=('plasma-workspace' 'qt5-graphicaleffects' 'redshift')
|
|
|
|
makedepends=('extra-cmake-modules')
|
|
|
|
source=("https://github.com/kotelnik/plasma-applet-redshift-control/archive/v${pkgver}.tar.gz")
|
2016-01-26 03:03:10 +08:00
|
|
|
sha256sums=('7e7a3f927e870ed754c3f2124e92cc0a57432ead3f5d500917cd03bd7d5ed706')
|
2016-01-23 22:15:26 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "${_name}-${pkgver}"
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${_name}-${pkgver}/build"
|
|
|
|
|
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DLIB_INSTALL_DIR=lib \
|
|
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${_name}-${pkgver}"/build
|
|
|
|
|
|
|
|
make install DESTDIR="${pkgdir}"
|
|
|
|
}
|