[arch-commits] Commit in kded/repos (kde-unstable-x86_64 kde-unstable-x86_64/PKGBUILD)
Andrea Scarpino
andrea at nymeria.archlinux.org
Sat Dec 21 12:08:14 UTC 2013
Date: Saturday, December 21, 2013 @ 13:08:14
Author: andrea
Revision: 202308
archrelease: copy trunk to kde-unstable-x86_64
Added:
kded/repos/kde-unstable-x86_64/
kded/repos/kde-unstable-x86_64/PKGBUILD
(from rev 202307, kded/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: kded/repos/kde-unstable-x86_64/PKGBUILD (from rev 202307, kded/trunk/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2013-12-21 12:08:14 UTC (rev 202308)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kded
+pkgver=r5.b1ce07c
+pkgrel=1
+pkgdesc='KDE Daemon'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kded'
+license=('LGPL')
+depends=('kservice' 'kinit')
+makedepends=('extra-cmake-modules' 'git')
+groups=('kf5')
+source=('git://anongit.kde.org/kded.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd kded
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ mkdir -p build
+
+ # There's something wrong with our kdoctools but I don't get it
+ sed -i 's/add_subdirectory(docs)/#add_subdirectory(docs)/' \
+ kded/CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake ../kded \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/opt/kf5 \
+ -DLIB_INSTALL_DIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list