summaryrefslogtreecommitdiff
path: root/kde-unstable/kdegraphics-mobipocket/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'kde-unstable/kdegraphics-mobipocket/PKGBUILD')
-rw-r--r--kde-unstable/kdegraphics-mobipocket/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/kde-unstable/kdegraphics-mobipocket/PKGBUILD b/kde-unstable/kdegraphics-mobipocket/PKGBUILD
new file mode 100644
index 000000000..0efa8ae2a
--- /dev/null
+++ b/kde-unstable/kdegraphics-mobipocket/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 160144 2012-05-29 22:59:17Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=kdegraphics-mobipocket
+pkgver=4.8.80
+pkgrel=1
+pkgdesc="A collection of plugins to handle mobipocket files"
+url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-mobipocket"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+depends=('kdelibs')
+makedepends=('cmake' 'automoc4' 'kdegraphics-okular')
+replaces=('kdegraphics-libs')
+conflicts=('kdegraphics-libs')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('38772a3e115d27945727c2d5d0c6b0e5ba055ac0')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}