blob: 3a3575cc8b5e34977a76703c44b3f5b1408efdc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: KokaKiwi <kokakiwi+aur@kokakiwi.net>
_pkgname=plasma5-applet-tiledmenu
pkgname=${_pkgname}-git
pkgver=v43.r9.gc043469
pkgrel=1
pkgdesc="A menu based on Windows 10's Start Menu."
url='https://store.kde.org/p/1160672'
license=('GPL')
arch=('any')
makedepends=('git')
depends=('plasma-workspace' 'qt5-graphicaleffects')
provides=('plasma5-applets-tiledmenu')
conflicts=('plasma5-applets-tiledmenu')
source=("$_pkgname::git+https://github.com/Zren/plasma-applet-tiledmenu.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$_pkgname"
local dest="${pkgdir}/usr/share/plasma/plasmoids/org.kde.plasma.tiledmenu"
install -dm0755 ${dest}
cp -r package/* ${dest}
# In /usr/share/plasma/plasmoid, KDE Plasma recognize applets named "org.kde.*" only.
sed -i 's|com.github.zren.tiledmenu|org.kde.plasma.tiledmenu|g' "${dest}"/metadata.desktop
}
|