LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File PKGBUILD of Package peruse (Project home:leinir:peruse)

# Maintainer: Dan Leinir Turthra Jensen

pkgname=peruse
pkgver=r7195.f8870e6
pkgrel=1
pkgdesc='A comic book reader by KDE'
arch=('i686' 'x86_64')
url='http://vdg.kde.org/'
license=('GPL')
depends=('qt5-svg' 'qt5-quickcontrols' 'plasma-framework' 'kdeclarative' 'okular-frameworks-git' 'kirigami' 'kfilemetadata')
makedepends=('extra-cmake-modules' 'kdoctools' 'git' 'python' 'phonon-qt5-gstreamer' )
optdepends=()
source=("peruse-$pkgver.tar.xz")
install=$pkgname.install
sha256sums=('SKIP')


prepare() {
  mkdir -p build
}

build() { 
  cd build
  cmake ../peruse-$pkgver \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DLIB_INSTALL_DIR=lib \
    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
  make -j4
}

package() {
  cd build
  make DESTDIR="$pkgdir" install
}