[arch-commits] Commit in kio/repos (3 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Sat Dec 21 12:14:20 UTC 2013
Date: Saturday, December 21, 2013 @ 13:14:20
Author: andrea
Revision: 202334
archrelease: copy trunk to kde-unstable-x86_64
Added:
kio/repos/kde-unstable-x86_64/
kio/repos/kde-unstable-x86_64/PKGBUILD
(from rev 202333, kio/trunk/PKGBUILD)
kio/repos/kde-unstable-x86_64/kio.install
(from rev 202333, kio/trunk/kio.install)
-------------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
kio.install | 11 +++++++++++
2 files changed, 57 insertions(+)
Copied: kio/repos/kde-unstable-x86_64/PKGBUILD (from rev 202333, kio/trunk/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2013-12-21 12:14:20 UTC (rev 202334)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kio
+pkgver=r11.621a455
+pkgrel=1
+pkgdesc='KIO'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kio'
+license=('LGPL')
+depends=('krb5' 'solid' 'knotifications' 'kjobwidgets' 'kbookmarks'
+ 'qt5-script')
+makedepends=('extra-cmake-modules' 'git')
+groups=('kf5')
+install=kio.install
+source=('git://anongit.kde.org/kio.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd kio
+ 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)/' \
+ kio/CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake ../kio \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/opt/kf5 \
+ -DLIB_INSTALL_DIR=lib \
+ -DBUILD_TESTING=OFF
+# -DSYSCONF_INSTALL_DIR=/etc
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: kio/repos/kde-unstable-x86_64/kio.install (from rev 202333, kio/trunk/kio.install)
===================================================================
--- kde-unstable-x86_64/kio.install (rev 0)
+++ kde-unstable-x86_64/kio.install 2013-12-21 12:14:20 UTC (rev 202334)
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list