desktop/colord-kde/PKGBUILD
2016-11-01 15:46:50 +01:00

35 lines
861 B
Bash

# Maintainer: eyome <baikalink@hotmail.fr>
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: M0Rf30
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=colord-kde
pkgver=0.5.0
pkgrel=1
pkgdesc="Interfaces and session daemon to colord for KDE"
arch=('x86_64')
url='https://userbase.kde.org/Color_Management'
license=('GPL')
depends=('colord' 'libxrandr' 'kservice' 'kconfigwidgets')
makedepends=('extra-cmake-modules' 'plasma-framework' 'kcmutils' 'kitemviews' 'python3')
source=("http://download.kde.org/stable/colord-kde/$pkgver/src/$pkgname-$pkgver.tar.xz")
sha1sums=('489a042b31932c9b9197d170ff502a11328fc393')
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}