diff options
Diffstat (limited to 'archlinux/README.md')
| -rw-r--r-- | archlinux/README.md | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/archlinux/README.md b/archlinux/README.md new file mode 100644 index 0000000..668155f --- /dev/null +++ b/archlinux/README.md | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | # Arch Linux Package | ||
| 2 | |||
| 3 | This directory contains the PKGBUILD and related files for building and installing kjagave on Arch Linux. | ||
| 4 | |||
| 5 | ## Building the Package | ||
| 6 | |||
| 7 | ```bash | ||
| 8 | cd archlinux | ||
| 9 | makepkg -si | ||
| 10 | ``` | ||
| 11 | |||
| 12 | ## Installing from AUR (future) | ||
| 13 | |||
| 14 | Once uploaded to the AUR: | ||
| 15 | |||
| 16 | ```bash | ||
| 17 | yay -S kjagave | ||
| 18 | # or | ||
| 19 | paru -S kjagave | ||
| 20 | ``` | ||
| 21 | |||
| 22 | ## Files | ||
| 23 | |||
| 24 | - `PKGBUILD` - Build script for Arch Linux | ||
| 25 | - `kjagave.desktop` - XDG desktop entry | ||
| 26 | - `kjagave.png` - Application icon | ||
| 27 | - `.SRCINFO` - Package metadata (generated with `makepkg --printsrcinfo`) | ||
| 28 | |||
| 29 | ## Building from Local Repository | ||
| 30 | |||
| 31 | If you're testing locally before tagging a release: | ||
| 32 | |||
| 33 | ```bash | ||
| 34 | # In the archlinux directory, edit PKGBUILD to use local source | ||
| 35 | # Replace the source line with: | ||
| 36 | # source=("${pkgname}::git+file://$(pwd)/..") | ||
| 37 | |||
| 38 | makepkg -si | ||
| 39 | ``` | ||
| 40 | |||
| 41 | ## Note | ||
| 42 | |||
| 43 | The PKGBUILD expects a tagged release (v1.0) on GitHub. Make sure to create and push the tag before building: | ||
| 44 | |||
| 45 | ```bash | ||
| 46 | git tag v1.0 | ||
| 47 | git push origin v1.0 | ||
| 48 | ``` | ||
