git » libkdcraw.git » commit 9da0c4e

KDE Applications 15.12

author Antonio Rojas
2015-12-16 07:08:40 UTC
committer Antonio Rojas
2015-12-16 07:08:40 UTC
parent dab70ba59337fc8380df012118447d0267f78258

KDE Applications 15.12

PKGBUILD +15 -14

diff --git a/PKGBUILD b/PKGBUILD
index f8927e5..4d00aec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,19 @@
 # Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Maintainer: Antonio Rojas <arojas@archlinux.org>
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=libkdcraw
-pkgver=15.08.3
+pkgver=15.12.0
 pkgrel=1
 pkgdesc="A C++ interface used to decode RAW picture"
 url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkdcraw"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-depends=('kdelibs' 'libraw')
-makedepends=('cmake' 'automoc4')
-replaces=('kdegraphics-libs')
-conflicts=('kdegraphics-libs')
-install=${pkgname}.install
-source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
-sha1sums=('faf93404a36162a381abcafd289e3de811774a25')
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+depends=(qt5-base libraw)
+makedepends=(extra-cmake-modules)
+install=$pkgname.install
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('0d4d2fb6897eb84cab42705d6a4f16f901f5aa2d')
 
 prepare() {
   mkdir -p build
@@ -22,14 +21,16 @@ prepare() {
 
 build() {
   cd build
-  cmake ../${pkgname}-${pkgver} \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_BUILD_TYPE=Release \
-    -DKDE4_BUILD_TESTS=OFF \
-    -DCMAKE_INSTALL_PREFIX=/usr
+    -DBUILD_TESTING=OFF \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
   make
 }
 
 package() {
   cd build
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 }