desktop/kdesdk-dolphin-plugins/PKGBUILD
2013-12-17 18:41:12 +00:00

46 lines
1.1 KiB
Bash

# Maintainer Manuel Tortosa <manutortosa@chakra-project@org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
_pkgname="dolphin-plugins"
pkgname="kdesdk-dolphin-plugins"
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
pkgdesc='Extra 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=kdesdk.install
options=('docs' '!header' 'debug' 'log')
makedepends=('pkg-config' 'cmake' 'automoc4' 'docbook-xsl')
source=("$_mirror/${_pkgname}-$_kdever.tar.xz")
sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`)
build() {
cd ${srcdir}/${_pkgname}-${pkgver}
msg "starting build ..."
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_SKIP_RPATH=ON
make
}
package() {
cd ${srcdir}/${_pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}