author | Andrea Scarpino
<andrea@archlinux.org> 2014-10-18 08:45:18 UTC |
committer | Andrea Scarpino
<andrea@archlinux.org> 2014-10-18 08:45:18 UTC |
parent | 45a89f694033bda0ccbe6bf7343c3748cc509f34 |
PKGBUILD | +6 | -3 |
kio-extras.install | +11 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index 01ce83b..ad19406 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,3 +1,4 @@ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> # Contributor: Antonio Rojas pkgname=kio-extras @@ -7,8 +8,10 @@ pkgdesc="Additional components to increase the functionality of KIO" arch=('i686' 'x86_64') url='https://projects.kde.org/projects/kde/workspace/kio-extras' license=('LGPL') -depends=('kdelibs4support' 'khtml' 'kdnssd' 'libssh' 'smbclient' 'exiv2' 'openexr') -makedepends=('extra-cmake-modules' 'openslp' 'kdoctools' 'python') +depends=('kdelibs4support' 'khtml' 'kdnssd' 'libssh' 'smbclient' 'exiv2' 'openexr' 'openslp') +makedepends=('extra-cmake-modules' 'kdoctools' 'python') +options=('!buildflags') +install="${pkgname}.install" source=("http://download.kde.org/stable/plasma/5.1.0/$pkgname-$pkgver.tar.xz") md5sums=('fe8771bd6157bd842753d0c2a3c9162c') @@ -31,7 +34,7 @@ package() { cd build make DESTDIR="${pkgdir}" install -# conflicts with kdebase-runtime + # conflicts with kdebase-runtime rm "$pkgdir"/usr/lib/libmolletnetwork.so mv "$pkgdir"/usr/share/config.kcfg/jpegcreatorsettings{,5}.kcfg } diff --git a/kio-extras.install b/kio-extras.install new file mode 100644 index 0000000..cb068b7 --- /dev/null +++ b/kio-extras.install @@ -0,0 +1,11 @@ +post_install() { + update-mime-database usr/share/mime &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}