summaryrefslogtreecommitdiff
path: root/community/kdeconnect
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-24 03:17:10 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-24 03:17:10 +0000
commit15cd70d8180c2a45287e4bd8ce01a2a9248e8d62 (patch)
tree3a87c7cdfa5736a8fe7515db195d2b8baf7857fd /community/kdeconnect
parent1d20e4962664ab152948a14b4320b12204a1053e (diff)
Mon Feb 24 03:14:11 UTC 2014
Diffstat (limited to 'community/kdeconnect')
-rw-r--r--community/kdeconnect/PKGBUILD34
-rw-r--r--community/kdeconnect/kdeconnect.install11
2 files changed, 45 insertions, 0 deletions
diff --git a/community/kdeconnect/PKGBUILD b/community/kdeconnect/PKGBUILD
new file mode 100644
index 000000000..9dd5d6175
--- /dev/null
+++ b/community/kdeconnect/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 106127 2014-02-23 15:53:44Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
+
+pkgname=kdeconnect
+pkgver=0.5
+pkgrel=1
+pkgdesc='Adds communication between KDE and your smartphone'
+url='https://projects.kde.org/projects/playground/base/kdeconnect-kde'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('kdelibs' 'qjson' 'qca-ossl')
+makedepends=('automoc4' 'cmake')
+install="${pkgname}.install"
+source=("http://download.kde.org/unstable/${pkgname}/${pkgver}/src/${pkgname}-kde-${pkgver}.tar.xz")
+md5sums=('c87a7032d5b66dc22b22004a8275b493')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-kde-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/community/kdeconnect/kdeconnect.install b/community/kdeconnect/kdeconnect.install
new file mode 100644
index 000000000..e70c054ec
--- /dev/null
+++ b/community/kdeconnect/kdeconnect.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}