git » kdegraphics-mobipocket.git » commit 490495d

KDE Applications 16.12

author Antonio Rojas
2016-12-15 10:41:32 UTC
committer Antonio Rojas
2016-12-15 10:41:32 UTC
parent a9f352adf7a9ac134f30dd000bbdee55cfba1297

KDE Applications 16.12

PKGBUILD +17 -15

diff --git a/PKGBUILD b/PKGBUILD
index 3b2106f..bc9ff5a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,22 @@
+# $Id: PKGBUILD 280288 2016-11-10 18:13:29Z arojas $
 # Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Maintainer: Antonio Rojas <arojas@archlinux.org>
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=kdegraphics-mobipocket
-pkgver=16.08.3
+pkgver=16.12.0
 pkgrel=1
 pkgdesc="A collection of plugins to handle mobipocket files"
 url="https://www.kde.org/applications/graphics/"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-depends=('kdelibs')
-makedepends=('cmake' 'automoc4')
-groups=('kde-applications' 'kdegraphics')
-replaces=('kdegraphics-libs')
-conflicts=('kdegraphics-libs')
-source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
-sha1sums=('5bb292273ed36140b4d2b18b9925926951ba4290')
+arch=(i686 x86_64)
+license=(GPL LGPL FDL)
+depends=(kio)
+makedepends=(extra-cmake-modules)
+groups=(kde-applications kdegraphics)
+source=("http://download.kde.org/stable/applications/${pkgver}/src/${pkgname}-${pkgver}.tar.xz"{,.sig})
+sha1sums=('d4f981ced88ada88288fbc96cee5c7def586f573'
+          'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid <aacid@kde.org>
 
 prepare() {
   mkdir -p build
@@ -22,15 +24,15 @@ prepare() {
 
 build() {
   cd build
-  cmake ../${pkgname}-${pkgver} \
+  cmake ../$pkgname-$pkgver \
     -DCMAKE_BUILD_TYPE=Release \
-    -DKDE4_BUILD_TESTS=OFF \
-    -DBUILD_strigi=OFF \
-    -DCMAKE_INSTALL_PREFIX=/usr
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DKDE_INSTALL_LIBDIR=lib \
+    -DBUILD_TESTING=OFF
   make
 }
 
 package() {
   cd build
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="$pkgdir" install
 }