chore: better aur docs & .gitignores

This commit is contained in:
javalsai 2024-07-27 03:27:17 +02:00
parent d85e3f5620
commit 8f471df5bc
Signed by: javalsai
SSH Key Fingerprint: SHA256:3G83yKhBUWVABVX/vPWH88xnK4+ptMtHkZGCRXD4Mk8
2 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,4 @@
*/*
!*/.gitignore
!*/PKGBUILD
!*/.SRCINFO

View File

@ -2,16 +2,16 @@
These files are just for reference, I'll manually edit and publish them, at least until I automate it with github actions (like updating version automatically on a release).
There are three packages that follow standard conventions:
* `lidm`: Builds latest release (manually updated per release basis)
* `lidm-bin`: Fetches latest release binary (compiled by GitHub Actions, also updated per release)
* `lidm-git`: Fetches latest commit and builds it (should be updated automatically)
* [`lidm`](https://aur.archlinux.org/packages/lidm): Builds latest release (manually updated per release basis)
* [`lidm-bin`](https://aur.archlinux.org/packages/lidm-bin): Fetches latest release binary (compiled by GitHub Actions, also updated per release)
* [`lidm-git`](https://aur.archlinux.org/packages/lidm-git): Fetches latest commit and builds it (should be updated automatically)
> [!IMPORTANT]
> None of those packages include the service files, I'm considering automatically detecting it on the package function or providing it as separate services (standard practice again).
>
> Depending on how good these packages go (my first packages :P) I'll make these ones too.
> Depending on how good these packages go (my first packages :P) I'll make service ones too.
## Services
Summary of what to do to install service files anyways:
* systemd: Copy `assets/services/systemd.service` to `/etc/systemd/system/lidm.service` and enable the service (`systemctl enable lidm`)
* dinit: Copy `assets/services/dinit` to `/etc/dinit.d/lidm` and enable the service `dinitctl enable lidm`
* **systemd:** Copy `assets/services/systemd.service` to `/etc/systemd/system/lidm.service` and enable the service (`systemctl enable lidm`)
* **dinit:** Copy `assets/services/dinit` to `/etc/dinit.d/lidm` and enable the service (`dinitctl enable lidm`)