Browse code

First commit

Qurban Ullah authored on 27/02/2018 17:48:00
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,32 @@
1
+# $Id$
2
+# Maintainer: Qurban Ullah <qurbanullah@avouch.org>
3
+# Contributor: Qurban Ullah <qurbanullah@avouch.org>
4
+
5
+pkgname=colord-kde
6
+pkgver=0.5.0
7
+pkgrel=1
8
+pkgdesc="Interfaces and session daemon to colord for KDE"
9
+arch=(i686 x86_64)
10
+url='https://userbase.kde.org/Color_Management'
11
+license=(GPL)
12
+depends=(colord libxrandr kservice kconfigwidgets)
13
+makedepends=(extra-cmake-modules plasma-framework kcmutils kitemviews python)
14
+source=("http://download.kde.org/stable/colord-kde/$pkgver/src/$pkgname-$pkgver.tar.xz")
15
+md5sums=('4833ffdf73cc795195e1c82eaf0de51e')
16
+
17
+prepare() {
18
+  mkdir -p build
19
+}
20
+
21
+build() {
22
+  cd build
23
+  cmake ../$pkgname-$pkgver \
24
+    -DCMAKE_BUILD_TYPE=Release \
25
+    -DCMAKE_INSTALL_PREFIX=/usr
26
+  make ${MAKEFLAGS}
27
+}
28
+
29
+package() {
30
+  build
31
+  make DESTDIR="$pkgdir" install
32
+}