diff --git a/Readme.md b/Readme.md index c208828..4aab836 100644 --- a/Readme.md +++ b/Readme.md @@ -61,6 +61,13 @@ CDEmu Daemon manager for Plasma 5 desktop with an additional "start in systray" FORMAT: Arch Linux PKGBUILD script + patch file. +**kde-magiclantern-shortcut** +-------------- + +Adds a KDE5 compatible shortcut file (Kicker/Kickoff launchers) for magiclantern-bootablecard package. + +FORMAT: Arch Linux PKGBUILD script + source files. + **kde-servicemenus-cr2fits** -------------- diff --git a/kde-magiclantern-shortcut/PKGBUILD b/kde-magiclantern-shortcut/PKGBUILD new file mode 100644 index 0000000..ed61083 --- /dev/null +++ b/kde-magiclantern-shortcut/PKGBUILD @@ -0,0 +1,20 @@ +pkgname=kde-magiclantern-shortcut +pkgver=1 +pkgrel=1 +pkgdesc="Add KDE5 compatible shortcut for Magic Lantern's bootable card script." +arch=('i686' 'x86_64') +license=('GPL') +url='https://bitbucket.org/hudson/magic-lantern/src/tip/contrib/make-bootable/' +depends=('konsole' 'kde-cli-tools' 'magiclantern-bootablecard') +source=(ml.png +ml-bootablecard.desktop) +md5sums=('6a4c32203c332e715fef54e91d9bb455' + 'eb85fddbe44d38681673d0f01ac3853b') + +package() { + mkdir -p $pkgdir/usr/share/{pixmaps,applications} + install -m755 $srcdir/ml.png $pkgdir/usr/share/pixmaps/ + install -m755 $srcdir/ml-bootablecard.desktop $pkgdir/usr/share/applications/ +} + + diff --git a/kde-magiclantern-shortcut/ml-bootablecard.desktop b/kde-magiclantern-shortcut/ml-bootablecard.desktop new file mode 100755 index 0000000..8df0dfb --- /dev/null +++ b/kde-magiclantern-shortcut/ml-bootablecard.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Magic Lantern Bootable Card Utility +Comment=A program for adding Canon-compatible boot flag into SD Card +Exec=konsole --workdir=$(pwd) -p "Magic Lantern Bootable Card Utility" --hold -e sudo ml-bootablecard +Icon=/usr/share/pixmaps/ml.png +Type=Application +Categories=Application;Utility; +StartupNotify=true diff --git a/kde-magiclantern-shortcut/ml.png b/kde-magiclantern-shortcut/ml.png new file mode 100644 index 0000000..d618487 Binary files /dev/null and b/kde-magiclantern-shortcut/ml.png differ