summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatMoul2024-03-09 17:31:45 +0100
committerMatMoul2024-03-09 17:31:45 +0100
commit0bf0f698702b0c628739f98536aa8fc4e4dbaf4b (patch)
tree72698d03815cdf7ccccb7b85167a8a5b68cc7ea4
parent04d2c385ab8ebe877bc4bec5234d9a508cd30a12 (diff)
downloadaur-0bf0f698702b0c628739f98536aa8fc4e4dbaf4b.tar.gz
Version 0.2.0.r5.896bfa4-1
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD14
-rw-r--r--plasma-addons-customdesktopmenu-git.install31
3 files changed, 11 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 152eaa0a5935..7f6a15b55aae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = plasma-addons-customdesktopmenu-git
pkgdesc = Custom desktop menu for Plasma6
- pkgver = 0.2.0.r4.5b70ecb
+ pkgver = 0.2.0.r5.896bfa4
pkgrel = 1
url = https://github.com/matmoul/plasma-containmentactions-customdesktopmenu
arch = any
@@ -8,7 +8,7 @@ pkgbase = plasma-addons-customdesktopmenu-git
makedepends = git
makedepends = extra-cmake-modules
depends = kdeplasma-addons
- source = git+https://github.com/matmoul/plasma-containmentactions-customdesktopmenu.git#commit=5b70ecb8feab1b23877e35890ed64ce16c98bac4
+ source = git+https://github.com/matmoul/plasma-containmentactions-customdesktopmenu.git#commit=896bfa4f76620cc377088e454281a12dfa3f5a74
sha256sums = SKIP
pkgname = plasma-addons-customdesktopmenu-git
diff --git a/PKGBUILD b/PKGBUILD
index e2460c423ae8..44c1af41f377 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,10 +2,10 @@
_githubuser=matmoul
_githubrepo=plasma-containmentactions-customdesktopmenu
-_gitcommit=5b70ecb8feab1b23877e35890ed64ce16c98bac4
+_gitcommit=896bfa4f76620cc377088e454281a12dfa3f5a74
pkgname=plasma-addons-customdesktopmenu-git
-pkgver=0.2.0.r4.5b70ecb
+pkgver=0.2.0.r5.896bfa4
pkgrel=1
pkgdesc='Custom desktop menu for Plasma6'
arch=('any')
@@ -19,10 +19,14 @@ sha256sums=('SKIP')
build() {
cd "${_githubrepo}"/src
- ./build.sh
+ cmake --fresh -B ../_build .
+ cd ../_build
+ make clean
+ make
}
package() {
- cd "${_githubrepo}"/_build
- install -D -m755 bin/plasma/containmentactions/matmoul-customdesktopmenu.so ${pkgdir}/usr/lib/qt6/plugins/plasma/containmentactions/matmoul-customdesktopmenu.so
+ cd "${_githubrepo}"
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/plasma-addons-customdesktopmenu-git/LICENSE
+ install -D -m755 _build/bin/plasma/containmentactions/matmoul-customdesktopmenu.so ${pkgdir}/usr/lib/qt6/plugins/plasma/containmentactions/matmoul-customdesktopmenu.so
}
diff --git a/plasma-addons-customdesktopmenu-git.install b/plasma-addons-customdesktopmenu-git.install
deleted file mode 100644
index fdddffd9b607..000000000000
--- a/plasma-addons-customdesktopmenu-git.install
+++ /dev/null
@@ -1,31 +0,0 @@
-## arg 1: the new package version
-pre_install() {
- echo ""
-}
-
-## arg 1: the new package version
-post_install() {
- kbuildsycoca5
-}
-
-## arg 1: the new package version
-## arg 2: the old package version
-pre_upgrade() {
- echo ""
-}
-
-## arg 1: the new package version
-## arg 2: the old package version
-post_upgrade() {
- kbuildsycoca5
-}
-
-## arg 1: the old package version
-pre_remove() {
- echo ""
-}
-
-## arg 1: the old package version
-post_remove() {
- kbuildsycoca5
-}