summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/guide/getting-started/installation.md12
-rw-r--r--docs/guide/typescript/installation.md9
2 files changed, 10 insertions, 11 deletions
diff --git a/docs/guide/getting-started/installation.md b/docs/guide/getting-started/installation.md
index e936bc4..844de25 100644
--- a/docs/guide/getting-started/installation.md
+++ b/docs/guide/getting-started/installation.md
@@ -24,7 +24,6 @@ yay -S libastal-meta
## Bulding libastal from source
-
1. Install the following dependencies
:::code-group
@@ -41,21 +40,20 @@ sudo dnf install meson gcc valac gtk3-devel gtk-layer-shell-devel gobject-intros
sudo apt install meson valac libgtk-3-dev libgtk-layer-shell-dev gobject-introspection libgirepository1.0-dev
```
+:::
+
2. Clone the repo
```sh
-git clone https://github.com/aylur/astal.git
-cd astal
+git clone https://github.com/aylur/astal.git /tmp/astal
```
-:::
-
3. Build and install with `meson`
- astal-io
```sh
-cd lib/astal/io
+cd /tmp/astal/lib/astal/io
meson setup --prefix /usr build
meson install -C build
```
@@ -63,7 +61,7 @@ meson install -C build
- astal3
```sh
-cd lib/astal/gtk3
+cd /tmp/astal/lib/astal/gtk3
meson setup --prefix /usr build
meson install -C build
```
diff --git a/docs/guide/typescript/installation.md b/docs/guide/typescript/installation.md
index f085194..f1d20c5 100644
--- a/docs/guide/typescript/installation.md
+++ b/docs/guide/typescript/installation.md
@@ -34,8 +34,8 @@ nix run github:aylur/ags/v2#agsFull -- --help
2. Install the Astal GJS package
```sh
-git clone https://github.com/aylur/astal
-cd lang/gjs
+git clone https://github.com/aylur/astal /tmp/astal
+cd /tmp/astal/lang/gjs
meson setup --prefix /usr build
meson install -C build
```
@@ -68,9 +68,10 @@ sudo apt install golang-go npm gjs
<!--TODO: remove v2 after merge-->
```sh
-git clone https://github.com/aylur/ags.git
+git clone https://github.com/aylur/ags.git /tmp/ags
+cd /tmp/ags
git checkout v2 # https://github.com/Aylur/ags/pull/504
-cd ags/src
+cd src
go install
```