summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e2460c423ae80d87fb0b77488f5c07457f778294 (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
# Maintainer: MatMoul <matmoul at the google email domain which is .com>

_githubuser=matmoul
_githubrepo=plasma-containmentactions-customdesktopmenu
_gitcommit=5b70ecb8feab1b23877e35890ed64ce16c98bac4

pkgname=plasma-addons-customdesktopmenu-git
pkgver=0.2.0.r4.5b70ecb
pkgrel=1
pkgdesc='Custom desktop menu for Plasma6'
arch=('any')
url="https://github.com/${_githubuser}/${_githubrepo}"
license=('GPL3')
#depends=('plasma-desktop' 'kdeplasma-addons')
depends=('kdeplasma-addons')
makedepends=('git' 'extra-cmake-modules')
source=("git+https://github.com/${_githubuser}/${_githubrepo}.git#commit=${_gitcommit}")
sha256sums=('SKIP')

build() {
	cd "${_githubrepo}"/src
	./build.sh
}

package() {
	cd "${_githubrepo}"/_build
	install -D -m755 bin/plasma/containmentactions/matmoul-customdesktopmenu.so ${pkgdir}/usr/lib/qt6/plugins/plasma/containmentactions/matmoul-customdesktopmenu.so
}