Robin Candau pushed to branch main at Arch Linux / Packaging / Packages /
nwg-shell
Commits:
5c42bc4f by Robin Candau at 2024-08-20T20:14:17+02:00
upgpkg: 0.5.38-5: Add a post install script to hint users about how to generate
a config
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + nwg-shell.install
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,8 +1,9 @@
pkgbase = nwg-shell
pkgdesc = Installer & meta-package for the nwg-shell project
pkgver = 0.5.38
- pkgrel = 4
+ pkgrel = 5
url = https://nwg-piotr.github.io/nwg-shell/
+ install = nwg-shell.install
arch = any
license = MIT
makedepends = python-build
=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
pkgname=nwg-shell
pkgver=0.5.38
-pkgrel=4
+pkgrel=5
pkgdesc="Installer & meta-package for the nwg-shell project"
url="https://nwg-piotr.github.io/nwg-shell/"
arch=('any')
@@ -24,6 +24,7 @@ optdepends=('hyprland: Supported alternative Wayland
compositor'
'mousepad: Suggested text editor'
'thunar: Suggested file manager')
makedepends=('python-build' 'python-installer' 'python-wheel'
'python-setuptools')
+install="${pkgname}.install"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/nwg-piotr/nwg-shell/archive/v${pkgver}.tar.gz")
sha256sums=('9e637c39a0f49d73db33f83eb7dbb7d454e8df602ced132b648496b4570a7d3c')
=====================================
nwg-shell.install
=====================================
@@ -0,0 +1,11 @@
+post_install() {
+ echo "---"
+ echo "The nwg-shell supports Sway and, optionally, Hyprland (see the
list of optional dependencies required for the Hyprland support)"
+ echo "You can generate default configurations and styles sheets for
each nwg-shell components and for your Wayland compositor by running:"
+ echo
+ echo "nwg-shell-installer -w (for Sway)"
+ echo "nwg-shell-installer -w -hypr (for Hyprland)"
+ echo
+ echo "WARNING: The nwg-shell-installer script expects a web browser, a
file manager and a text editor to be installed before being run in order to
setup keybindings properly. The suggested ones are chromium, thunar and
mousepad but other ones can be installed instead."
+ echo "---"
+}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/nwg-shell/-/commit/5c42bc4f477646a18d1ee5fbd3dc28da28b1e62a
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/nwg-shell/-/commit/5c42bc4f477646a18d1ee5fbd3dc28da28b1e62a
You're receiving this email because of your account on gitlab.archlinux.org.