Commit 0d22cb15 authored by Francesco Marinucci's avatar Francesco Marinucci

kim: rebuild to make it work under Plasma5

parent 4a20481e
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# Contributor: raku <raczkow@gmail.com>
pkgname=kim
_pkgname=kim4
pkgver=0.9.5
pkgrel=5
pkgrel=6
pkgdesc="KDE image menu to compress, resize, convert, rename and much more."
arch=('x86_64')
url="http://www.kde-apps.org/content/show.php?content=11505"
license=('GPL3')
depends=('imagemagick' 'kdelibs')
depends=('imagemagick' 'kdelibs' 'kde-baseapps-kdialog')
replaces=('kim4')
categories=('graphics')
source=("http://bouveyron.free.fr/kim/release/$_pkgname-$pkgver.tar.gz")
md5sums=('c7934ab0dbf988da5f60d9c4cbf97dd5')
package() {
cd $srcdir/$_pkgname
cd $_pkgname
# Create needed directories.
install -d $pkgdir/usr/share/kde4/services/ServiceMenus/
install -d $pkgdir/usr/share/kservices5/ServiceMenus/
install -d $pkgdir/usr/bin
# Install.
cp src/kim_*.desktop $pkgdir/usr/share/kde4/services/ServiceMenus/
cp src/kim_*.desktop $pkgdir/usr/share/kservices5/ServiceMenus/
cp src/bin/kim_* $pkgdir/usr/bin/
# Fix permissions.
chmod a+rx $pkgdir/usr/bin/kim_*
chmod a+r $pkgdir/usr/share/kde4/services/ServiceMenus/kim_*.desktop
chmod a+r $pkgdir/usr/share/kservices5/ServiceMenus/kim_*.desktop
# License.
install -Dm664 COPYING $pkgdir/usr/share/licenses/$pkgname/license.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment