desktop/kdesdk-dolphin-plugins/PKGBUILD
2014-02-01 11:24:18 +00:00

39 lines
1.2 KiB
Bash

# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="kdesdk-dolphin-plugins"
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
pkgdesc='Dolphin plugins'
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
depends=("kde-baseapps-dolphin>=${_kdever}" 'subversion' 'git' "kdesdk-kompare>=${_kdever}")
optdepends=('bzr: bazaar support'
'git: git support'
'mercurial: hg support'
'subversion: svn support')
categories=('programming')
install=${pkgname}.install
options=('docs' '!header' 'debug' 'log')
makedepends=('pkg-config' 'cmake' 'automoc4' 'docbook-xsl')
source=("$_mirror/dolphin-plugins-$_kdever.tar.xz")
sha256sums=(`grep dolphin-plugins-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
build() {
cd ${srcdir}/dolphin-plugins-${pkgver}
cmake . \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON
make
}
package() {
cd ${srcdir}/dolphin-plugins-${pkgver}
make DESTDIR=${pkgdir} install
}