[arch-commits] Commit in kdeconnect/trunk (PKGBUILD kdeconnect.install)

Andrea Scarpino andrea at nymeria.archlinux.org
Sun Feb 23 15:42:56 UTC 2014


    Date: Sunday, February 23, 2014 @ 16:42:56
  Author: andrea
Revision: 106125

minor fixes and pkgrel bump

Added:
  kdeconnect/trunk/kdeconnect.install
Modified:
  kdeconnect/trunk/PKGBUILD

--------------------+
 PKGBUILD           |    5 +++--
 kdeconnect.install |   11 +++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-02-23 15:35:11 UTC (rev 106124)
+++ PKGBUILD	2014-02-23 15:42:56 UTC (rev 106125)
@@ -5,12 +5,13 @@
 pkgname=kdeconnect
 pkgver=0.5
 pkgrel=1
-pkgdesc='KDE Connect kded and kcm'
+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')
 
@@ -20,7 +21,7 @@
 
 build() {
   cd build
-  cmake ../${pkgname}-${pkgver} \
+  cmake ../${pkgname}-kde-${pkgver} \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DKDE4_BUILD_TESTS=OFF \
     -DCMAKE_BUILD_TYPE=Release

Added: kdeconnect.install
===================================================================
--- kdeconnect.install	                        (rev 0)
+++ kdeconnect.install	2014-02-23 15:42:56 UTC (rev 106125)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}




More information about the arch-commits mailing list