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=kim
_pkgname=kim4 _pkgname=kim4
pkgver=0.9.5 pkgver=0.9.5
pkgrel=5 pkgrel=6
pkgdesc="KDE image menu to compress, resize, convert, rename and much more." pkgdesc="KDE image menu to compress, resize, convert, rename and much more."
arch=('x86_64') arch=('x86_64')
url="http://www.kde-apps.org/content/show.php?content=11505" url="http://www.kde-apps.org/content/show.php?content=11505"
license=('GPL3') license=('GPL3')
depends=('imagemagick' 'kdelibs') depends=('imagemagick' 'kdelibs' 'kde-baseapps-kdialog')
replaces=('kim4') replaces=('kim4')
categories=('graphics') categories=('graphics')
source=("http://bouveyron.free.fr/kim/release/$_pkgname-$pkgver.tar.gz") source=("http://bouveyron.free.fr/kim/release/$_pkgname-$pkgver.tar.gz")
md5sums=('c7934ab0dbf988da5f60d9c4cbf97dd5') md5sums=('c7934ab0dbf988da5f60d9c4cbf97dd5')
package() { package() {
cd $srcdir/$_pkgname cd $_pkgname
# Create needed directories. # Create needed directories.
install -d $pkgdir/usr/share/kde4/services/ServiceMenus/ install -d $pkgdir/usr/share/kservices5/ServiceMenus/
install -d $pkgdir/usr/bin install -d $pkgdir/usr/bin
# Install. # 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/ cp src/bin/kim_* $pkgdir/usr/bin/
# Fix permissions. # Fix permissions.
chmod a+rx $pkgdir/usr/bin/kim_* 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. # License.
install -Dm664 COPYING $pkgdir/usr/share/licenses/$pkgname/license.txt 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