author | Andrea Scarpino
<andrea@archlinux.org> 2013-12-17 13:52:43 UTC |
committer | Andrea Scarpino
<andrea@archlinux.org> 2013-12-17 13:52:43 UTC |
parent | f5d9770c2cbf0d90069cab8858aa7a9dc08b0368 |
PKGBUILD | +8 | -6 |
diff --git a/PKGBUILD b/PKGBUILD index 9ae7105..740b574 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,24 +1,26 @@ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgname=kdegraphics-mobipocket -pkgver=4.11.4 +pkgver=4.12.0 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') +makedepends=('cmake' 'automoc4') groups=('kde' 'kdegraphics') replaces=('kdegraphics-libs') conflicts=('kdegraphics-libs') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.xz") -sha1sums=('e15c1b8459c1a1314e8a8cf7627f4a901f3b5975') +sha1sums=('60fc877f9669d50ca77513b1de73b54140f6eddf') -build() { - cd "${srcdir}" +prepare() { mkdir build +} + +build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ @@ -28,6 +30,6 @@ build() { } package() { - cd "${srcdir}"/build + cd build make DESTDIR="${pkgdir}" install }