# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=dolphin-plugins pkgver=${_kdever} #pkgver=15.03.70 pkgrel=1 pkgdesc='Extra Dolphin plugins' url='https://projects.kde.org/projects/kde/kdesdk/dolphin-plugins' arch=('x86_64') license=('GPL' 'LGPL' 'FDL') groups=('kde' 'kde-sdk' 'kde-uninstall' 'programming') depends=('kxmlgui' 'ki18n' 'kio' 'ktexteditor' 'kwidgetsaddons' 'dolphin') makedepends=('extra-cmake-modules' 'kdoctools' 'git') optdepends=('git: git support' #'mercurial: hg support' 'subversion: svn support') conflicts=('kdesdk-dolphin-plugins') replaces=('kdesdk-dolphin-plugins') source=("$_mirror/${pkgname}-$_kdever.tar.xz") md5sums=(`grep ${pkgname}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`) #source=("git://anongit.kde.org/dolphin-plugins.git#branch=frameworks") #md5sums=('SKIP') build() { mkdir -p build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_SYSCONFDIR=/etc \ -DKDE_INSTALL_PLUGINDIR=/usr/lib/qt5/plugins \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ -DKDE_INSTALL_LIBDIR=lib make } package() { cd build make DESTDIR="${pkgdir}" install }