diff --git a/ksuperkey/PKGBUILD b/ksuperkey/PKGBUILD new file mode 100644 index 000000000..122b43481 --- /dev/null +++ b/ksuperkey/PKGBUILD @@ -0,0 +1,27 @@ +# maintainer abveritas@chakra-project.org +# contributor Franzmari + +pkgname=ksuperkey +pkgver=0.3 +pkgrel=1 +pkgdesc="Allows you to open the application launcher in KDE Plasma Desktop using the Super key" +url="http://kde-apps.org/content/show.php/ksuperkey?content=154569" +license=('GPL3') +arch=('x86_64') +depends=('libx11' 'libxtst') +makedepends=('gcc' 'make') +source=("http://kde-apps.org/CONTENT/content-files/154569-${pkgname}-${pkgver}.tar.gz") +install=ksuperkey.install +md5sums=('4aeffbcd6928cfeea6a19dc4a1508ed0') + +build() { + cd "${srcdir}"/$pkgname-$pkgver + make +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install +} + + diff --git a/ksuperkey/ksuperkey.install b/ksuperkey/ksuperkey.install new file mode 100644 index 000000000..22be4d2a2 --- /dev/null +++ b/ksuperkey/ksuperkey.install @@ -0,0 +1,18 @@ +post_install() { + cat >&2 < ksuperkey installation notes: + ---------------------------------------- + Make sure that the keyboard shortcut for the application launcher is set to Alt+F1. + If you do not like the default mapping (Super_L to Alt+F1), you can tell ksuperkey to use another mapping. + The syntax is as follows: + + ksuperkey -e 'ModKey=Key[|OtherKey][;NextExpression]' + + for example: + + ksuperkey -e 'Super_L=Alt_L|F2' + + You could optionally set ksuperkey autostart in System Settings. + +EOF +}