git » libkexiv2.git » commit 78bad9d

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 ca972e81dcff7ca8952a84c98583baa675f1bf79

KDE Applications 15.12

PKGBUILD +19 -16

diff --git a/PKGBUILD b/PKGBUILD
index 4eb9a13..50905df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,35 @@
 # Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Maintainer: Antonio Rojas <arojas@archlinux.org>
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=libkexiv2
-pkgver=15.08.3
+pkgver=15.12.0
 pkgrel=1
 pkgdesc="A library to manipulate pictures metadata"
 url="https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-depends=('kdelibs')
-makedepends=('cmake' 'automoc4')
-replaces=('kdegraphics-libs')
-conflicts=('kdegraphics-libs')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
-sha1sums=('09adf7887dc644431a6930ba645162707c16bb3d')
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+depends=(qt5-base exiv2)
+makedepends=(extra-cmake-modules)
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha1sums=('4c068f67a099a2f82bd438097455aab7c965202f')
 
-build() {
-  cd "${srcdir}"
+prepare() {
   mkdir -p build
+}
+
+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 "${srcdir}"/build
-  make DESTDIR="${pkgdir}" install
+  cd build
+  make DESTDIR="$pkgdir" install
 }