desktop/kde-dev-scripts/PKGBUILD
2013-12-22 13:54:55 +00:00

41 lines
1.0 KiB
Bash

# Maintainer Manuel Tortosa <manutortosa@chakra-project@org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="kde-dev-scripts"
arch=('x86_64')
pkgver=${_kdever}
pkgrel=2
pkgdesc="Extra scripts for the KDE SDK"
depends=("kde-runtime>=${_kdever}" 'python')
conflicts=("kdesdk-doc" "kdesdk-scripts")
provides="kdesdk-scripts"
replaces="kdesdk-scripts"
groups=("kde" "kde-devel" "kde-uninstall" "kdesdk")
categories=('programming')
install=kdesdk.install
url="http://www.kde.org"
license=('GPL' 'LGPL' 'FDL')
options=('docs' '!header' 'debug' 'log')
makedepends=('pkg-config' 'cmake' 'automoc4')
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}
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}