PKGBUILD 1.17 KB
Newer Older
totte's avatar
totte committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
# 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 
}