desktop/kdeplasma-applets-appmenu-qml/PKGBUILD

30 lines
1.2 KiB
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project.org>
pkgname=kdeplasma-applets-appmenu-qml
pkgver=1.5
pkgrel=1
pkgdesc="This plasmoid shows a menu of the installed applications, similar to Lancelot but much simpler. (Chakra + Ronak Fix)"
url="http://kde-apps.org/content/show.php/AppMenu+QML?content=146098"
screenshot="http://kde-apps.org/CONTENT/content-pre1/146098-1.jpg"
license=('GPL')
arch=('x86_64')
depends=('kde-workspace')
makedepends=('unzip')
source=("http://kde-apps.org/CONTENT/content-files/146098-plasma-applet-appmenu-qml-${pkgver}.plasmoid"
'icon.diff')
md5sums=('7fbc01402394bf56f60f00a5448e2d85'
'8e621ada430aa4b366cec74399ba1e50')
build() {
unzip -o -q "$srcdir/146098-plasma-applet-appmenu-qml-${pkgver}.plasmoid" -d "$srcdir/plasma-applet-appmenu-qml"
patch -p1 -i "${srcdir}/icon.diff"
install -D $srcdir/plasma-applet-appmenu-qml/metadata.desktop ${pkgdir}/"`kde4-config --prefix`/share/kde4/services/plasma-applet-appmenu-qml.desktop"
mkdir -p ${pkgdir}/"`kde4-config --prefix`/share/apps/plasma/plasmoids/appmenu-qml"
cp -r $srcdir/plasma-applet-appmenu-qml/* ${pkgdir}/"`kde4-config --prefix`/share/apps/plasma/plasmoids/appmenu-qml/"
}