From 25c571dc13c8246531e57eef7403e1375a5d99b0 Mon Sep 17 00:00:00 2001 From: rokosun Date: Mon, 1 Jan 2024 15:12:06 +0000 Subject: [PATCH] Update PKGBUILD --- PKGBUILD | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index 35e8978..af6854d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,6 +7,7 @@ arch=('x86_64') url="https://git.trom.tf/TROMjaro/layout-switcher-package" license=(unknown) depends=('xfce4-panel-profiles' + 'vala-panel-appmenu-registrar' 'util-linux' 'xfconf' 'polkit' @@ -28,6 +29,7 @@ source=("layoutSwitcher.nim" "sharedModule.nim" "tromjaro-layout-switcher.desktop" "com.tromjaro.LayoutSwitcher.policy" + "disable-global-menu.hook" "tromjaro-layout-switcher.svg" "icons.zip::https://www.drive.tromsite.com/s/SWmAcokLcxLB3gM/download" "profiles.zip::https://www.drive.tromsite.com/s/6dHoNjar9wJzeLd/download") @@ -38,6 +40,7 @@ sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' +'SKIP' 'SKIP') prepare() { # Disable telemetry in choosenim if user is running it for the first time @@ -69,6 +72,9 @@ package() { install -d ${pkgdir}/usr/share/tromjaro-layout-switcher/profiles install -Dm644 ${srcdir}/profiles/* ${pkgdir}/usr/share/tromjaro-layout-switcher/profiles + # copy pacman hook file + install -Dm644 ${srcdir}/disable-global-menu.hook ${pkgdir}/usr/share/tromjaro-layout-switcher + # copy executables install -d ${pkgdir}/usr/share/applications install -Dm644 ${srcdir}/tromjaro-layout-switcher.desktop ${pkgdir}/usr/share/applications