2011-08-24 19:33:15 +08:00
|
|
|
|
|
|
|
pkgname=kim
|
|
|
|
_pkgname=kim4
|
|
|
|
pkgver=0.9.5
|
2016-03-14 01:21:56 +08:00
|
|
|
pkgrel=6
|
2011-08-24 19:33:15 +08:00
|
|
|
pkgdesc="KDE image menu to compress, resize, convert, rename and much more."
|
2015-02-18 19:02:50 +08:00
|
|
|
arch=('x86_64')
|
2011-08-24 19:33:15 +08:00
|
|
|
url="http://www.kde-apps.org/content/show.php?content=11505"
|
|
|
|
license=('GPL3')
|
2016-03-14 01:21:56 +08:00
|
|
|
depends=('imagemagick' 'kdelibs' 'kde-baseapps-kdialog')
|
2011-08-24 19:33:15 +08:00
|
|
|
replaces=('kim4')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('graphics')
|
2015-02-18 19:02:50 +08:00
|
|
|
source=("http://bouveyron.free.fr/kim/release/$_pkgname-$pkgver.tar.gz")
|
2011-08-24 19:33:15 +08:00
|
|
|
md5sums=('c7934ab0dbf988da5f60d9c4cbf97dd5')
|
|
|
|
|
|
|
|
package() {
|
2016-03-14 01:21:56 +08:00
|
|
|
cd $_pkgname
|
2011-08-24 19:33:15 +08:00
|
|
|
|
|
|
|
# Create needed directories.
|
2016-03-14 01:21:56 +08:00
|
|
|
install -d $pkgdir/usr/share/kservices5/ServiceMenus/
|
2011-08-24 19:33:15 +08:00
|
|
|
install -d $pkgdir/usr/bin
|
|
|
|
|
|
|
|
# Install.
|
2016-03-14 01:21:56 +08:00
|
|
|
cp src/kim_*.desktop $pkgdir/usr/share/kservices5/ServiceMenus/
|
2011-08-24 19:33:15 +08:00
|
|
|
cp src/bin/kim_* $pkgdir/usr/bin/
|
|
|
|
|
|
|
|
# Fix permissions.
|
|
|
|
chmod a+rx $pkgdir/usr/bin/kim_*
|
2016-03-14 01:21:56 +08:00
|
|
|
chmod a+r $pkgdir/usr/share/kservices5/ServiceMenus/kim_*.desktop
|
2011-08-24 19:33:15 +08:00
|
|
|
|
|
|
|
# License.
|
|
|
|
install -Dm664 COPYING $pkgdir/usr/share/licenses/$pkgname/license.txt
|
|
|
|
|
|
|
|
# Slideshow.
|
|
|
|
install -d $pkgdir/usr/share/$pkgname/slideshow/
|
|
|
|
cp src/slideshow/* $pkgdir/usr/share/$pkgname/slideshow/
|
|
|
|
|
|
|
|
# Gallery.
|
|
|
|
install -d $pkgdir/usr/share/$pkgname/gallery
|
|
|
|
cp src/gallery/* $pkgdir/usr/share/$pkgname/gallery
|
|
|
|
}
|