author | Antonio Rojas
<arojas@archlinux.org> 2020-12-05 20:06:38 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2020-12-05 20:06:38 UTC |
parent | c5291af0138d3d028adc4c923b2e66c675aa4acc |
80-appmenu-gtk-module => 80-appmenu-gtk-module.sh | +2 | -0 |
PKGBUILD | +3 | -3 |
diff --git a/80-appmenu-gtk-module b/80-appmenu-gtk-module.sh similarity index 95% rename from 80-appmenu-gtk-module rename to 80-appmenu-gtk-module.sh index feef224..2782c4c 100644 --- a/80-appmenu-gtk-module +++ b/80-appmenu-gtk-module.sh @@ -1,3 +1,5 @@ +#!/bin/sh + if [ -n "$GTK_MODULES" ]; then GTK_MODULES="${GTK_MODULES}:appmenu-gtk-module" else diff --git a/PKGBUILD b/PKGBUILD index d49a7d3..c350575 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -13,9 +13,9 @@ url="https://gitlab.com/vala-panel-project/vala-panel-appmenu/" arch=(x86_64) license=(LGPL3) source=("https://gitlab.com/vala-panel-project/vala-panel-appmenu/-/archive/$pkgver/vala-panel-appmenu-$pkgver.tar.gz" - 80-appmenu-gtk-module) + 80-appmenu-gtk-module.sh) sha256sums=('6ade911726c5cfa6e49416b7480c286cd5e098a7a1105f7f027827e3c3a4e119' - '4c006c4ea7b8556070ad6d35529d3a9e23da8033429e34d1824c25942d969fbc') + 'e8aff88851145085e24989cc99da9f631c593b506d0224225f3eb347d16c6455') build() { meson build vala-panel-appmenu-$pkgver/subprojects/$pkgname \ @@ -25,5 +25,5 @@ build() { package() { DESTDIR="$pkgdir" ninja install -C build - install -Dm755 80-appmenu-gtk-module -t "$pkgdir"/etc/X11/xinit/xinitrc.d/ + install -Dm755 80-appmenu-gtk-module.sh -t "$pkgdir"/etc/X11/xinit/xinitrc.d/ }