Date: Saturday, December 21, 2013 @ 13:04:36 Author: andrea Revision: 202297
archrelease: copy trunk to kde-unstable-x86_64 Added: kconfig/repos/kde-unstable-x86_64/ kconfig/repos/kde-unstable-x86_64/PKGBUILD (from rev 202296, kconfig/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: kconfig/repos/kde-unstable-x86_64/PKGBUILD (from rev 202296, kconfig/trunk/PKGBUILD) =================================================================== --- kde-unstable-x86_64/PKGBUILD (rev 0) +++ kde-unstable-x86_64/PKGBUILD 2013-12-21 12:04:36 UTC (rev 202297) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgname=kconfig +pkgver=r5.43d1457 +pkgrel=2 +pkgdesc='KConfig' +arch=('i686' 'x86_64') +url='https://projects.kde.org/projects/frameworks/kconfig' +license=('LGPL') +depends=('qt5-base') +makedepends=('extra-cmake-modules' 'git') +groups=('kf5') +source=('git://anongit.kde.org/kconfig.git') +md5sums=('SKIP') + +pkgver() { + cd kconfig + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../kconfig \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/opt/kf5 \ + -DLIB_INSTALL_DIR=lib \ + -DBUILD_TESTING=OFF + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +}