about summary refs log tree commit diff stats
path: root/examples
diff options
context:
space:
mode:
authorCase Duckworth2023-02-08 15:44:01 -0600
committerCase Duckworth2023-02-08 15:44:01 -0600
commit0b64ff5db42121fec07b9e2294af8c46d36aa328 (patch)
tree5c9cf445c851a3721ac86e10f9c04df0e5f3015f /examples
downloadmisc-0b64ff5db42121fec07b9e2294af8c46d36aa328.tar.gz
misc-0b64ff5db42121fec07b9e2294af8c46d36aa328.zip
Initial commit
Diffstat (limited to 'examples')
-rw-r--r--examples/emacs37
-rw-r--r--examples/golang2
-rw-r--r--examples/keepassxc27
-rw-r--r--examples/lieer21
-rw-r--r--examples/notmuch8
-rw-r--r--examples/tree-sitter4
6 files changed, 99 insertions, 0 deletions
diff --git a/examples/emacs b/examples/emacs new file mode 100644 index 0000000..e7348db --- /dev/null +++ b/examples/emacs
@@ -0,0 +1,37 @@
1# misc :: Emacs -*- bash-ts -*-
2
3# Variables
4
5SOURCE=git://git.sv.gnu.org/emacs.git
6CHECKOUT=emacs-29
7
8CONFIGURE_ARGS=(
9 --prefix="$MISC_INSTALL_PREFIX"
10 --with-cairo
11 --with-file-notification=inotify
12 --with-imagemagick
13 --with-json
14 --with-native-compilation=aot # Emacs 29
15 --with-tree-sitter=yes # requires tree-sitter
16 --with-x
17 --with-x-toolkit=lucid
18 --with-xinput2
19 --with-xml2
20 # --with-xwidgets # requires gtk3
21 --without-gconf
22 --without-gsettings
23)
24
25MISC_DEPENDENCIES=(
26 tree-sitter
27)
28
29# Plan
30
31install_deps
32repo_pull
33repo_ready extraclean
34
35with_repo ./autogen.sh
36configure
37make_install bootstrap
diff --git a/examples/golang b/examples/golang new file mode 100644 index 0000000..65265be --- /dev/null +++ b/examples/golang
@@ -0,0 +1,2 @@
1# golang -*- bash-ts -*-
2
diff --git a/examples/keepassxc b/examples/keepassxc new file mode 100644 index 0000000..cd3cf42 --- /dev/null +++ b/examples/keepassxc
@@ -0,0 +1,27 @@
1# keepassxc -*- bash-ts -*-
2
3SOURCE=https://github.com/keepassxreboot/keepassxc.git
4
5# This is a cmake program
6
7CMAKE_ARGS=(
8 -DCMAKE_INSTALL_PREFIX="$MISC_INSTALL_PREFIX"
9 -DCMAKE_BUILD_TYPE="Release"
10 # Features
11 -DWITH_XC_AUTOTYPE="ON" # Auto-Type
12 -DWITH_XC_YUBIKEY="OFF" # YubiKey HMAC-SHA1 authentication support
13 -DWITH_XC_BROWSER="ON" # KeePassXC-Browser extension support
14 -DWITH_XC_NETWORKING="ON" # Networking support
15 -DWITH_XC_SSHAGENT="ON" # SSHAgent support
16 -DWITH_XC_FDOSECRETS="ON" # Freedesktop.org Secrets Service support
17 -DWITH_XC_KEESHARE="OFF" # KeeShare group synchronization extension
18 -DWITH_XC_UPDATECHECK="OFF" # Enable/Disable automatic updating checking
19)
20
21# Plan
22
23repo_pull latest
24repo_ready
25
26with_repo '{ mkdir build; cd build; cmake "${CMAKE_ARGS[@]}" ..; }'
27_make install
diff --git a/examples/lieer b/examples/lieer new file mode 100644 index 0000000..6c90e64 --- /dev/null +++ b/examples/lieer
@@ -0,0 +1,21 @@
1# lieer -*- bash-ts -*-
2
3SOURCE=https://github.com/gauteh/lieer
4
5APT_DEPENDENCIES=(
6 python3
7 libnotmuch-dev
8 # hopefully pip will install the rest
9)
10
11# Don't error when we don't have a virtualenv.
12export PIP_REQUIRE_VIRTUALENV=false
13
14# Plan
15
16install_deps
17repo_pull
18repo_ready
19
20with_repo pip3 install --user .
21
diff --git a/examples/notmuch b/examples/notmuch new file mode 100644 index 0000000..00db730 --- /dev/null +++ b/examples/notmuch
@@ -0,0 +1,8 @@
1# notmuch -*- bash-ts -*-
2
3SOURCE=https://git.notmuchmail.org/git/notmuch
4
5CONFIGURE_ARGS=(
6 --prefix="$MISC_INSTALL_PREFIX"
7)
8
diff --git a/examples/tree-sitter b/examples/tree-sitter new file mode 100644 index 0000000..55c723e --- /dev/null +++ b/examples/tree-sitter
@@ -0,0 +1,4 @@
1# Tree-sitter -*- bash-ts -*-
2
3SOURCE="https://github.com/tree-sitter/tree-sitter.git"
4