git » kate.git » commit 8d777cd

Add kio-extras as optional dep

author Andrea Scarpino
2015-01-25 12:23:57 UTC
committer Andrea Scarpino
2015-01-25 12:23:57 UTC
parent 720cb29a40ae15e3ba8d23056d2caca1f46aa4bc

Add kio-extras as optional dep

PKGBUILD +2 -3
kdesdk-kate.install +0 -13

diff --git a/PKGBUILD b/PKGBUILD
index f8da459..0570471 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,18 +5,17 @@ pkgbase=kate
 pkgname=('kwrite'
          'kate')
 pkgver=14.12.1
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL' 'FDL')
 depends=('knewstuff' 'ktexteditor' 'plasma-framework' 'threadweaver' 'kded' 'kitemmodels')
 makedepends=('extra-cmake-modules' 'kdoctools' 'python')
+optdepends=('kio-extras: extra protocols support (sftp, fish and more)')
 source=("http://download.kde.org/stable/applications/${pkgver}/src/kate-${pkgver}.tar.xz")
 sha1sums=('e7097f07f9876c44e482a88d7fdae0db92aa2359')
 
 prepare() {
   mkdir build
-
-  cd kate-${pkgver}
 }
 
 build() {
diff --git a/kdesdk-kate.install b/kdesdk-kate.install
deleted file mode 100644
index 0446d16..0000000
--- a/kdesdk-kate.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
-    xdg-icon-resource forceupdate --theme hicolor &> /dev/null
-    update-desktop-database -q
-    update-mime-database usr/share/mime &> /dev/null
-}
-
-post_upgrade() {
-    post_install
-}
-
-post_remove() {
-    post_install
-}