[arch-commits] Commit in (5 files)
Andrea Scarpino
andrea at nymeria.archlinux.org
Mon May 12 06:11:49 UTC 2014
Date: Monday, May 12, 2014 @ 08:11:49
Author: andrea
Revision: 212298
Let's try to package KDE Frameworks 5
Added:
kio/
kio/repos/
kio/trunk/
kio/trunk/PKGBUILD
kio/trunk/kio.install
-------------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
kio.install | 11 +++++++++++
2 files changed, 49 insertions(+)
Added: kio/trunk/PKGBUILD
===================================================================
--- kio/trunk/PKGBUILD (rev 0)
+++ kio/trunk/PKGBUILD 2014-05-12 06:11:49 UTC (rev 212298)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kio
+pkgver=4.99.0
+pkgrel=1
+pkgdesc='KIO'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/frameworks/kio'
+license=('LGPL')
+depends=('solid' 'karchive' 'kjobwidgets' 'kbookmarks' 'libxslt' 'kwallet'
+ 'desktop-file-utils')
+makedepends=('extra-cmake-modules' 'kdoctools')
+groups=('kf5')
+install=kio.install
+source=("http://download.kde.org/unstable/frameworks/${pkgver}/${pkgname}-${pkgver}.tar.xz")
+md5sums=('7eafc35cc0bcfb247b7871dce93c8b63')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_INSTALL_DIR=lib \
+ -DECM_MKSPECS_INSTALL_DIR=/usr/share/qt/mkspecs/modules \
+ -DBUILD_TESTING=OFF \
+ -DSYSCONF_INSTALL_DIR=/etc
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Added: kio/trunk/kio.install
===================================================================
--- kio/trunk/kio.install (rev 0)
+++ kio/trunk/kio.install 2014-05-12 06:11:49 UTC (rev 212298)
@@ -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