[gnome-build-meta/abderrahim/shells] vm: add fish and zsh
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/shells] vm: add fish and zsh
- Date: Mon, 12 Oct 2020 13:09:21 +0000 (UTC)
commit 9f26d0071cd9d5bdf9ed79cf7fa24493caea5b87
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Sun Oct 11 17:08:19 2020 +0100
vm: add fish and zsh
These are the most commonly used shells (besides bash)
See #332
elements/vm/common-deps.bst | 2 ++
elements/vm/fish.bst | 22 ++++++++++++++++++++++
elements/vm/zsh.bst | 26 ++++++++++++++++++++++++++
3 files changed, 50 insertions(+)
---
diff --git a/elements/vm/common-deps.bst b/elements/vm/common-deps.bst
index 09c7349c..d6e904b7 100644
--- a/elements/vm/common-deps.bst
+++ b/elements/vm/common-deps.bst
@@ -17,9 +17,11 @@ runtime-depends:
- vm/wpa-supplicant-config.bst
- vm/nsswitch-config.bst
+- vm/fish.bst
- vm/nss-mdns.bst
- vm/ntfs-3g.bst
- vm/uresourced.bst
+- vm/zsh.bst
- freedesktop-sdk.bst:vm/config/pulseaudio.bst
- freedesktop-sdk.bst:vm/config/sudo.bst
diff --git a/elements/vm/fish.bst b/elements/vm/fish.bst
new file mode 100644
index 00000000..d60c3624
--- /dev/null
+++ b/elements/vm/fish.bst
@@ -0,0 +1,22 @@
+kind: cmake
+
+sources:
+- kind: tar
+ url: github_com:fish-shell/fish-shell/releases/download/3.1.2/fish-3.1.2.tar.gz
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-cmake.bst
+
+depends:
+- freedesktop-sdk.bst:components/pcre2.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+variables:
+ cmake-local: >-
+ -DCMAKE_INSTALL_SYSCONFDIR=%{sysconfdir}
+ -DCURSES_NEED_NCURSES=TRUE
+
+public:
+ bst:
+ integration-commands:
+ - echo %{bindir}/fish >> /etc/shells
diff --git a/elements/vm/zsh.bst b/elements/vm/zsh.bst
new file mode 100644
index 00000000..f219286a
--- /dev/null
+++ b/elements/vm/zsh.bst
@@ -0,0 +1,26 @@
+kind: autotools
+
+sources:
+- kind: tar
+ url: sourceforge_net:zsh/files/zsh/5.8/zsh-5.8.tar.xz
+
+build-depends:
+- freedesktop-sdk.bst:public-stacks/buildsystem-autotools.bst
+
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+variables:
+ conf-local: >-
+ --with-tcsetpgrp
+
+config:
+ install-commands:
+ (>):
+ # installs two copies of zsh (zsh and zsh-5.8)
+ - rm %{install-root}%{bindir}/zsh-5.8
+
+public:
+ bst:
+ integration-commands:
+ - echo %{bindir}/zsh >> /etc/shells
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]